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

feat: Dynamic subscribe/unsubscribe mechanism (or similar) #1947

Open
chair28980 opened this issue Aug 24, 2023 · 0 comments
Open

feat: Dynamic subscribe/unsubscribe mechanism (or similar) #1947

chair28980 opened this issue Aug 24, 2023 · 0 comments

Comments

@chair28980
Copy link
Contributor

chair28980 commented Aug 24, 2023

With autosharding, nodes' shard subscriptions (relay) are influenced by:

  • initial static configuration (pubsub topic or content topics hashed to pubsub topics)
  • runtime, dynamic subscription to content topics

A useful feature may be a bandwidth management mechanism for relay nodes to choose dynamically the number of shards they support based on bandwidth availability. For example, when the network launches, it's reasonable for relay nodes to support all shards by default and gradually unsubscribe from shards as bandwidth increases, always preferring shards for which content topic subscriptions exist. If a node is configured with very restricted bandwidth, the relay subscriptions may even "convert" to a filter subscription, allowing the node to opt out of relay automatically.

Priority: Not critical for launch

Update: descoped from waku-org/pm#117, reserved for future work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Icebox
Development

No branches or pull requests

4 participants