Overview
Design a WhatsApp-like chat system with WebSocket connections, message queuing, and delivery guarantees.
Real-time chat is one of the most challenging system design problems.
You will build 6 architecture steps that model production dependencies.
You will run 1 failure experiment to observe bottlenecks and recovery behavior.
Success target: Messages delivered in <100ms to online users, queued for offline users, zero message loss.