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 06 · System Design · The interview, assembled · about 25 min to read

Play it as a journeyTutor comes with a plan

Four Systems in One Night (worked designs)

Four Systems in One Night
Four Systems in One Night · Open board

Four famous design questions worked in one sitting, with the same method each time, so that the one thing which actually changes between them becomes impossible to miss.

Before you start. You need the six steps every design question runs through: clarify what is being asked, estimate the scale, sketch the API, choose the data store, draw the design, then scale it. You also already own three of the parts this lesson assembles, which is enough to start: something that remembers answers so the slow thing gets asked less often, a book everyone reads at their own pace and nobody erases, and a store built to swallow writes faster than it hands them back.

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

  • The six steps never change, so what is actually being decided?
  • 2012: two million open connections on one machine
  • June 2012: Netflix started shipping its own servers to internet providers
  • One event, fifty million people, ten minutes
  • 10 December 2004: Google started guessing before you finished typing
  • The biggest number names the hinge
  • Chat
  • Video
  • Notifications
  • Typeahead

Terms it explains: bottleneck, hinge, fan-out, latency budget, trie, Group chat is fan-out, Per-channel senders, Debounce on the client.

Review System Design