Design a Web and Mobile Instant Messaging Service – Inspired by Facebook Messenger
Suggested time: 45 minutes
Loading the workspace...
A smart design insight: model one-on-one chat as a group chat with exactly 2 participants. This eliminates an entire parallel code path. Every message goes through the same pipeline, the only difference is group size.
One-on-one messaging
Group chat
Message persistence
Media sharing
The building blocks this design relies on, each explained in its own lesson.
Design a Video Conferencing system (medium)
Design a Smart Home System (hard)
Design Google Doc (hard)
Company guides that list this problem among their sample questions.