This question evaluates the ability to design scalable, reliable real-time messaging systems, examining competencies in distributed systems, message delivery semantics (sent/delivered/read), offline store-and-forward, multi-device history synchronization, and conversation ordering.
Design a chat system similar to WhatsApp/Messenger.
Requirements:
Out of scope: end-to-end encryption details, media pipeline.