No. 05 · Real-time delivery
Design a chat app
OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES
Further reading
At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.
- WhatsApp
The most complete free written answer: connection servers, routing between them, offline delivery via an inbox, multi-device and group fan-out, with good-versus-great trade-offs at each step.
Link checked 2026-12-06
- 4: Facebook Messenger + WhatsApp | Systems Design Interview Questions With Ex-Google SWE
Long whiteboard video that spends real time on routing messages to the right chat server, ordering within a conversation and group chats. Assumes you are comfortable with Kafka/Flink-style plumbing.
Link checked 2026-12-06
- System Design: Chat Application
Readable end-to-end design covering WebSocket servers, service discovery, receipts, groups and media, ending with explicit consistency and latency trade-offs. Less depth on failure handling.
Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)
- How Discord Stores Billions of Messages
Why Discord moved messages to Cassandra and how they keyed rows by channel plus time bucket to keep partitions bounded. Great evidence for the message-store schema; ignores delivery.
Link checked 2026-12-06
- Real-time Messaging
How Slack routes a message to every connected client: stateful channel servers placed by consistent hashing, gateway servers holding WebSockets. Good model for the delivery tier, not for storage.
Link checked 2026-12-06
- How Discord Stores Trillions of Messages
The sequel: hot-partition pain on Cassandra, a move to ScyllaDB, and a data-service layer that coalesces identical reads. Good follow-up material on hot channels; not an interview answer by itself.
Link checked 2026-12-06
Report a bad or misleading link
Reference audit: 2 of 4 links from the audited catalog kept
- hayksimonyan.substack.com/p/system-design-interview-design-whatsapp Superseded: short 1:1 text-only overview; kept walkthroughs cover it plus groups, receipts and offline delivery.
- medium.com/%40ishwarya1011.hidkimath/system-design-design-a-chat-syste Duplicate of better sources; generic outline padded with boilerplate fault-tolerance text.
We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.
COMPANY EVIDENCE · NOT A FREQUENCY CLAIM
Where it has been reported
Candidate reports
- Candidate report Uber
- Multiple reports TikTok
- iOS engineer (2-2 level, Singapore, May 2024 loop) says the fourth round included "Design WhatsApp": real-time and group chat, contacts, images and stickers. Reports an offer. · posted 2024-07-28 · checked 2026-12-06
- Android engineer (TikTok/ByteDance, Singapore, March 2025) had a system design round to design a real-time messaging app with contact sync, offline storage and media; mostly client-side. · posted 2025-06-01 · checked 2026-12-06
- In a Blind thread about ByteDance system design rounds, one commenter says they were asked to design a chat app backend. Short comment, no level or role given. · posted 2021-11-25 · checked 2026-12-06
Catalog tags (unverified)
Meta (Facebook)AmazonGoogleLinkedInSnap
Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.
KEEP GOING
Related practice and guides
From our Learn guides
- Guide Estimates that drive decisions
- Pattern Fan-out and real-time delivery
- Pattern Partitioning and ordering: choosing keys you can live with