Question bank

No. 05 · Real-time delivery

Design a chat app

Intermediate40 minPush & WebSockets · Idempotency · Data modeling · Consistency models · Sharding & partitioning · Client design

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Walkthrough 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.

  1. WhatsApp

    Hello Interview · Stefan MaiArticleFull walkthroughFreeVetted

    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

  2. 4: Facebook Messenger + WhatsApp | Systems Design Interview Questions With Ex-Google SWE

    Jordan has no life (YouTube)VideoFull walkthroughFreeVetted

    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

  3. System Design: Chat Application

    Medium · Mariia RomaniukArticleFull walkthroughFreeVetted

    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)

  4. How Discord Stores Billions of Messages

    Discord Engineering · Stanislav VishnevskiyEngineering blogPartialFreeVetted

    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

  5. Real-time Messaging

    Engineering at Slack · Sameera ThanguduEngineering blogPartialFreeVetted

    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

  6. How Discord Stores Trillions of Messages

    Discord Engineering · Bo IngramEngineering blogPartialFreeVetted

    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

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.

Report or add attribution evidence · How we label evidence

KEEP GOING

From our Learn guides

Related questions