Engineering at Scale
WebSocket scaling for live classes, chat and polls
How to scale WebSockets: connections per server, load balancing long-lived connections, Redis pub/sub fan-out, reconnect storms, and when SSE or polling is simpler.