System Design: WhatsApp

Lesson 155 of 25610 min readPremium lesson preview
In this lesson1 sections

System Design: WhatsApp

Design a messaging service in which people can exchange text and media even when their devices reconnect frequently. The central questions are when a message is safe to acknowledge, how it reaches each intended device, and what the service retains while a recipient is offline.

WhatsApp

WhatsApp supports text, voice, and multimedia messaging. We will use these capabilities to define an interview design, with an explicit delivery and encryption model.

WhatsApp announced more than two billion users in February 2020. That is historical context, not a current DAU figure. The source chart also illustrates historical message-volume growth. The next lesson adopts 100 billion messages per day as a hypothetical sizing workload; the proposed components are not a verified inventory of WhatsApp’s current backend.

The increase in messages sent globally per day is depicted in the following chart:

The rest of this lesson is for Premium members

Premium opens every lesson in this course, along with all questions and solutions on PracHub.