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

Launch price

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year, or $19.50 for your first year with LAUNCH50, ends 1 Nov, 18:30 UTC.

See plansStart free instead

Module 11 · System Design · Five more whole designs

Run this at nine (a distributed job scheduler)

Before you start. You need the six steps from Design the Whole Thing (the interview, assembled): clarify, estimate, API, data, design, scale, with no box on the board until a number pays for it. You also need the idea from Who holds the pen (consensus & Raft) that a group of machines can agree on exactly one of them to be in charge, and that the one in charge is only trusted for a limited time. And you need a queue from The order slip rail (queues & the utilization cliff): a waiting line of work that helpers take from.

Lesson 54 of 73 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, or $19.50 for your first year with LAUNCH50, ends 1 Nov, 18:30 UTC.

See plansAlready a member? Sign in

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

In this lesson

  • 1979: one machine, one minute, one list
  • Counting the rush at 09:00:00
  • Who is the porter tonight? Leader election
  • Hand the key card over: the lease
  • Maybe twice: at-least-once
  • Three strikes: retries and the dead-letter queue

Terms it explains: cron expression, job store, poller, leader election, lease, at-least-once, idempotent, dead-letter queue, job definition store, run log, catch up, skip.

Review System Design