Discord
One system, end to end: 9 boards and 9 narrated episodes, in order.
9 boards
9 videos
2 lessons
Watch in order

01Discord architecture, end to end: one shape, ten years of new engines
2:05

02The gateway: a process per user, and five million of them
2:36

03Three engines, one schema: the message store that outlived two databases
2:14

04Request coalescing: how one query serves a million askers
2:29

05Voice at scale: why the server forwards packets it cannot decode
2:08

06Fanout at the limit: the day typing indicators cost more than the messages
2:11

07Search in cells: forty small clusters instead of one big one
2:01

08The API plane: a Python monolith, snowflake IDs, and the hotspots that left
2:11

09Discord, the whole system on one canvas
1:49
Boards
- 00The Map▶ video
- 01The Gateway▶ video
- 02The Message Store Saga▶ video
- 03Data Services & Super-Disk▶ video
- 04Voice & Video▶ video
- 05Fanout at the Limit▶ video
- 06Search▶ video
- 07The API Plane▶ video
- 08Everything▶ video