PrepCity

Design WhatsApp

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 12 pages · about 11 min

Design WhatsApp

One-to-one messages for 2 billion people: a log between chat servers, an inbox for people who are offline, and routing so each message is read by the one server that holds its recipient.

Words you’ll learn

  • Server
  • Capacity
  • WebSocket
  • Idempotent
  • Scale out
  • Partition
  • Kafka
  • Consumer group
  • Load balancer
  • Hash

Page by page