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

System DesignRate limiting: the window

The bouncer at the door

The limit is 5 a minute. Under a fixed window, how many can one client land in a two-second span?

The bouncer keeps one running count for one client and turns away anyone past the limit. Ten requests arrive on a fixed clock, and the list marks where the minute rolls over. Watch the count the middle panel is keeping reset at that seam, and see who gets in just after.

Included with a plan

This lab 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.

the lesson Rate limiting: the token bucket
The whole idea this lab came from, told start to finish.

on the path Module 3 of 32 in System Design: Holding up under load
The lessons, boards and videos around this lab, in reading order.

Board: The Bouncer at the Door

see also Large-scale cluster management at Google with Borg in Papers.