High-level Design of WhatsApp
Discover the high-level design of the WhatsApp system. Analyze the core architecture and communication flow between clients and the chat server for reliable message delivery. Review the essential API structure for efficiently managing real-time text and media transfers.
High-level design
At a high level, the system uses a chat server to handle message exchange. Users connect to the server to send and receive messages. The server routes messages to the intended recipient and stores the messages in a database for durability and offline retrieval.
The communication flow between clients proceeds as follows:
User A and User B ...