Sharded Pub/Sub Architecture

Key space divided into shards with distributed load

Client 1 Client 2 Client 3 Client N Frontend 1 Frontend 2 Frontend N Pub/Sub Shard 1 Keys: A-H Pub/Sub Shard 2 Keys: I-P Pub/Sub Shard 3 Keys: Q-Z ... More Shards WebSocket Topic-based routing