Playground · Medium line · Station M4

WhatsApp / Messenger

Deliver 10,000 messages a second live, store every one, and queue messages for people who are offline.

On Diwali night 500,000 people are online at once, sending 10,000 messages a second to friends and family groups. Messages to people who are offline must wait safely until they reconnect, then arrive in order. Not one message may be lost.

Delivering messages
15,000/s
Sending messages
10,000/s
Saving messages
10,000/s
Budget
$2,200/mo
Speed
under 200 ms
Must
Survive a crash

Reported in interviews at Facebook, Uber, TikTok, Amazon