-
Notifications
You must be signed in to change notification settings - Fork 57
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: Autosharding API for (relay) subscriptions #1936
Comments
Conundrum: If subscribed to a shard and then unsubbing from a content topic on the same shard should the pubsub topic be unsubbed from? For content topic subscriptions to not override pubsub subscriptions some state must be kept but where? |
Leaving aside my architectural experiment. When content and pubsub topic are used there's a case where unsubscribing removes other subscriptions. In GossipSub there's a way to unsubscribe a specific handler on a topic but to use this feature I need to keep track of all handlers. This does not belong in |
Weekly Update
|
Weekly Update
|
Weekly Update
|
Weekly Update
|
Weekly Update
|
Currently the only way to manipulate a relay node's pubsub topic subscriptions is through an explicit subscribe call with the pubsub topic as argument or via static configuration when setting up the node. This task tracks work to add a subscribe method to relevant Relay APIs allowing applications to provide desired content topics as (relay) subscribe arguments, while the node translates those to relay subscriptions for specific shards. This task should involve a mechanism where an application is only notified of new messages on subscribed content topics, instead of all messages on the subscribed shards.
Priority: Critical for launch
The text was updated successfully, but these errors were encountered: