Design a Chat System
A chat system moves short text messages between people in close to real time. A sender types a message, the server saves it, and every other member of the conversation sees it within a fraction of a second if they're online, or as soon as they reconnect if they aren't. Small signals ride along with the messages: who's online, who has received a message, who has read it. Candidates report this prompt from Uber's high-level design round at every level from SDE-1 to Staff, in the US, India, Europe, Brazil and Canada. It's phrased as "design WhatsApp", "design Messenger", "a Slack kind of messaging app" or just "a chat application". The product is familiar. The work is in keeping tens of millions of connections open, getting each message to the right one, and staying correct when phones drop off the network.
UberPremium lesson · System design round
The Uber design, worked end to end.
- The API and data modelSystem design · Frequently asked
- The design, drawn out2 diagrams
- 6 deep divesWith the tradeoffs
$49 a year · all 107 companies · instant access
548 Uber interview reports · guide updated
Uber interview guideKnow what Uber asks before you walk in.
30 coding · 8 system design · 21 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.