ProblemsEX0005

WhatsApp

Hard

Problem

Build a realtime messaging platform: 1:1 and group messaging, offline delivery, delivery status, and multi-device support, at a scale of 20M concurrent connections and 1M messages/sec in production. Design it from a blank canvas so the connection layer, the shared registry every gateway needs to find a recipient, and offline message delivery all hold up independently; a message between two people who are both online right now shouldn't have to wait behind an unrelated backlog, and losing your single largest connection gateway can't silently drop live sessions.

Required components

Click to add a component to the canvas.

Additional components

Browse by category. Click or drag a component onto the canvas.

Drag components from the library onto the canvas, then drag from a component's right handle to connect it to another.

100%

Design canvas

Sign up to start designing

Sign up free

Premium is free for 58 more days.

$0 / $3,200