[SYSTEM DESIGN] Chat (WhatsApp / Messenger)
PremiumReal-time chat at 100M concurrent users: WebSocket fleet, sticky routing via consistent hash, per-chat sharded message DB, Kafka fan-out for groups, APNS/FCM push for offline.
Premium unlocks the full interview-prep walkthrough
- Where the architecture fails first and how to defend the design.
- Concrete capacity math, data sizes, throughput, and scaling thresholds.
- ADR-style trade-offs you can turn into a structured interview answer.
- Runnable scenarios for happy path, failures, retries, and recovery.
Create an account or sign in to continue to Premium access.