Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 25 · System Design · Slack · about 32 min to read

Watch: The monolith that never died: what Slack kept in five million lines
▶ VideoPlay it as a journeyTutor comes with a plan

Slack, the case study

Boards

Everything
Everything · Open board

The nine boards on one canvas, and the story below runs through them in the order Slack hit each problem.

Before you start. Slack is the chat app companies use instead of email, and it was built on one idea: a company signs up, gets its own private space, and everything about that company lives together in one place. This lesson is the story of what happened when Slack started selling to companies far too big for that idea.

Lesson 100 of 115 in System Design

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • 2013: a failed game, and the program nobody rewrote
  • 2016: the seven-megabyte hello, and the herd behind it
  • One message server per company, and the ring that replaced it
  • Autumn 2016: team_id, the shard key that lied
  • 2016: the queue that could not drain
  • 31 January 2017: Enterprise Grid, and one channel with two owners
  • 4 January 2021: a cold cache, and the brake they built
  • The numbers that are actually published
  • Retrieval (cold, no peeking)

Terms it explains: boot payload, thundering herd, cache, hash, ring, channel server, stateless, shard key, job queue, vtgate, VSchema, vttablet, vindex, scatter, 12.5M, ~9B/day, Reproduce the Redis deadlock, Realtime, Data, The enterprise trilogy, Failure, Search & AI, Runtime.

Related papers

Review System Design