Skip to content

ONE QUESTION. YOUR REASONING.

Design WhatsApp

Design a chat app like WhatsApp: people send messages to one person or a small group, and messages reach them even if they were offline.

System designMessaging and notificationsMid-levelSeniorStaff

YOUR BRIEF

What to work through

Work through whatsApp as a spoken system design interview. Start by clarifying the scope, sketch a working design and explain the trade-offs behind your choices.

  • Create group chats of up to 100 people
  • Send and receive messages
  • Receive messages sent while offline, kept for up to 30 days
  • Send and receive photos and other media

BEFORE YOU START

Constraints to discuss

  • Messages reach online users in under 500 ms
  • Every message is delivered
  • Billions of users and high throughput
  • Messages stay on the servers only as long as needed
  • Survives the failure of any one component
Need a starting point?

Watch for these common gaps as you prepare:

  • Adding chat servers with no way to route between them
  • A Kafka topic per user
  • Sending attachments through the chat servers
  • Writing last seen on every heartbeat
  • Relying on TCP timeouts to find dead connections
  • Solving scale before explaining how one server works
Read: System design questions and who asks them

Why this question is in the collection

These sources connect the problem to company interview reports or preparation guides. They do not guarantee what a company will ask you.

KEEP GOING

Your next question

Storage, files and linksDesign BitlyInfrastructure and platformDesign a rate limiterInfrastructure and platformDesign an A/B testing platformInfrastructure and platformDesign an ad click aggregator
Browse the collection
01

Pick a question

Read the brief and choose what you want to work on.

02

Talk it through

Explain your thinking. Respond to follow-ups. Draw when a design needs it.

03

Find your next improvement

Use the feedback from your interview to decide what to practise next.