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 routes subscriptions that share the same forwarded authentication headers over a single connection to the pricing subgraph.
Outcome
Upstream connections grow with the number of distinct forwarded header sets, such as authentication, not with the number of clients.

