Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal Community Specification #5821

Open
plopezlpz opened this issue Sep 10, 2024 · 1 comment
Open

Minimal Community Specification #5821

plopezlpz opened this issue Sep 10, 2024 · 1 comment
Assignees

Comments

@plopezlpz
Copy link
Contributor

plopezlpz commented Sep 10, 2024

Specify community procedures, including the encryption, reliability and functional scope of each. This forum post serves as a starting point. (regarding reliability, probably E2E protocol will be used).

Focus on the functional scope, we can categorize messages like so:

  1. Content (any content a user wants to send: text, reactions, images, gifs...). What would be the maximum size? How are they transfered with waku?, etc.
  2. Community Control (e.g.: online status, membership update...), some of these might be ephemeral like the online status, so what storage strategy are we using and what should we use since ephemeral messages don't need to live long. We know community description messages take a lot of bandwidth. Some of these community control messages need to be global (e.g.: request to join could be considered a special 1:1 case, these should be routed globally in the network since any peer could be messaging any other peer)

We can start defining this procedure: "Community description update" since it takes high bandwidth.

  • What messages are involved?
  • What triggers it?

Goal

The goal of this document should be to find out how to improve bandwidth and storage by the communities' protocol in Waku.
One way to do so is to split Content and Control in different shards so that not all members of a community need to be subscribed to the Control shard, they could just retrieve them using store query.

@plopezlpz
Copy link
Contributor Author

First part of this deliverable: waku-org/pm#197
FYI @qfrank @kaichaosun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants