Design a Chat Application
Prompt: "Design a messaging app like WhatsApp or Messenger with one-to-one and group chats."
Chat combines the Real-Time Updates pattern with heavy, ordered message storage and unreliable mobile networks. Interviewers probe delivery guarantees, ordering, offline users and group fan-out.
In this lesson
- Learning objectives
- 1. Requirements
- 2. Estimates
- 3. Core entities and API
- 4. High-level design
- 5. Deep dives
- 6. Operations and cost
- 7. What each level adds
- Self-check
Questions covered
- Design WhatsApp in 10 minutes.
- How do you guarantee no message is lost or duplicated?
This lesson is part of System Design Interview: Concepts, Patterns & Real Designs. Unlock the full course to read it, take the quiz and track your progress.