DesignIntermediate~25 min
Design Real-time Chat System
system-designrealtimewebsocketmessaging
Problem
Design a real-time chat application with 10 million monthly active users.
Requirements
- One-on-one direct messaging
- Group chat (up to 100 people)
- Read/unread message management
- Online/offline status display
- Message history search
- Image and file sharing functionality
- Push notifications
Constraints
- Message send to receive within 500ms
- Ensure 99.9% availability
- Persist and store messages
- Support 1 million concurrent users at peak
Constraints
- Message send to receive within 500ms
- Ensure 99.9% availability
- Persist and store messages
- Support 1 million concurrent users at peak
Your Answer
Minimum 100 characters (100 more characters)
Minimum 80 characters (80 more characters)
Minimum 100 characters (100 more characters)
Minimum 80 characters (80 more characters)
Minimum 80 characters (80 more characters)
Minimum 60 characters (60 more characters)
Answer Progress0 / 6 sections
Please fill all sections with the minimum character count
Model Answer
Submit your answer or click "Show" to view the model answer.