Live dashboards with multiplexed WebSocket connections
Scenario
A fintech application displays real-time prices and portfolio values to thousands of concurrent users.
How Cosmo handles it
Clients connect via graphql-ws. The Router multiplexes all subscriptions for the same data through shared connections to the pricing subgraph. Header-based authentication groups connections.
Outcome
10,000 connected clients consume connection resources of far fewer upstream connections.

