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 DesignConsistent hashing: virtual nodes

The ring

The ring only rehomes 1/N of the keys when a server dies. So why does everyone run two hundred virtual nodes per server?

Sixteen servers sit at points around a circle, and every key walks clockwise to the first server it meets. The bars show how many keys each one ended up holding, against a fair share at the halfway mark. Add more points per server and watch the bars level out while the rehoming figure barely moves.

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 Splitting the ledger (sharding)
The whole idea this lab came from, told start to finish.

on the path Module 1 of 32 in System Design: The stall gets famous
The lessons, boards and videos around this lab, in reading order.

Board: Splitting the Ledger

see also Dynamo: Amazon's Highly Available Key-value Store and Consistent Hashing and Random Trees in Papers.