Realtime & Connections
WebSocket chat design
Design realtime delivery for team chat: clients send messages, receive others’ messages in under 500ms, and show typing indicators. REST QPS is modest but 150k users are concurrently connected at peak. Why WebSocket vs polling, how do connections route through the load balancer, and how do multiple API hosts broadcast to a room?
Intermediate drill question.