Software architecture interview · Software Engineer
Chat / messaging system (WhatsApp-like)
- Level
- Senior
- Length
- About 55 minutes
- Format
- A diagram canvas you draw on as you talk
- Real-time delivery
- Message ordering
- Offline sync
- Multiple devices
The problem
Design a messaging service like WhatsApp: one-to-one and group chats of up to about a hundred people, text plus media, delivered in near real time. Messages sent while someone is offline must arrive when they come back, and users may be logged in on several devices at once.
The rest of the problem, the interviewer's follow-ups and your report come with the practice interview.
How the interview runs
- Introductions and framing5 min
- Requirements clarification and scoping7 min
- Estimation, core entities and API6 min
- High-level design12 min
- Deep dives15 min
- Wrap-up5 min
- Their questions5 min
Our library of software architecture problems
URL shortener (Bitly-like)Mid-level
Distributed API rate limiterMid-level
Chat / messaging system (WhatsApp-like) · This problemSenior
Event ticketing under flash-sale load (Ticketmaster-like)Senior