You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build a multi-provider WebSocket subscription layer #1721
Provide a multi-provider WebSocket subscription layer with bounded connection pools, balanced admission, and explicit subscription-loss notifications.
Why
Account synchronization needs to absorb growing subscription demand without exposing connection management to callers. Reconnecting a socket must not imply that its previous subscriptions remain valid.
Scope
Support multiple providers with configurable maximum connections and subscriptions per connection. Route each remote account to one connection; overlapping requests should share an acknowledged subscription until its last reference is released.
Admit new subscriptions round-robin across healthy connections with available capacity. Do not move existing subscriptions solely for balancing.
Grow pools preemptively in batches at 75% of allocated capacity, within provider limits. A full or disconnected provider should not prevent healthy providers from growing.
Report acknowledgement, account updates, release, and dropped subscriptions with enough identity to reject obsolete connection events.
Recreate disconnected connections empty. Do not automatically restore their subscriptions; ChainSync should retain or evict local mirrors according to remaining coverage.
Keep delayed gRPC duplication in the gRPC layer, not in a WebSocket promotion queue or separate candidate channel.
Make capacity exhaustion and transport failures observable. Do not silently drop account updates.
Activity
MayurK-cmd commentedon Sep 22, 2026
Hey there would love to work on this
bmuddha commentedon Sep 22, 2026
@MayurK-cmd thanks, but that's an internal epic, which is handled by the core team
MayurK-cmd commentedon Sep 22, 2026
Ahh no worries can you point to any issues or repos of magic blocks for which i can contribute to?