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 25 min to read

Play it as a journeyTutor comes with a plan

Design Slack, in the interview

Design Slack in the Interview
Design Slack in the Interview · Open board

The design growing one requirement at a time, each step’s new boxes dark and numbered, the earlier ones grey.

Before you start. Two lessons are borrowed. Design the Whole Thing (the interview, assembled) gave you the steps of a design answer: ask, estimate, API, data, design, bottlenecks, with nothing on the whiteboard until a number pays for it. Slack, the case study told the story of this exact system: the company-sized space, the ring of channel servers, the boot payload, the queue that could not drain and the search that must respect permissions. The second half of this page is its interview cut. A phone chat app is a close cousin, and you can read it later. This lesson is how to say Slack in forty-five minutes.

Lesson 101 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

  • A failed game and a chat tool that stayed
  • An office building with one floor per company
  • The room is an address
  • Saved first, then told
  • Everyone comes back at once
  • The work behind the send
  • Requirements
  • Out of scope, said out loud
  • Targets
  • Estimates that change the design
  • Entities and API
  • Storage
  • The design, one requirement at a time
  • Deep dives
  • What each level adds
  • The follow-up
  • More follow-ups
  • How to say it in the round

Terms it explains: workspace, channel, history, websocket, hash, ring, channel server, cursor, thundering herd, boot payload, cache, job queue, Common mistakes, p99, fan-out, jitter, User, Membership, Message, ReadCursor, mid-level, senior, staff, hash ring.

Review System Design