High-Level Design of WhatsApp

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

High-Level Design of WhatsApp

High-level design

Clients connect to a gateway that routes encrypted messages through a durable message service. The gateway owns a live connection; the message store owns accepted messages and delivery state. Losing a gateway must not erase an acknowledged message.

The high-level design of WhatsApp messenger
The high-level design of WhatsApp messenger

The communication flow between clients proceeds as follows:

The rest of this lesson is for Premium members

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