Splitting the ledger
Names are mostly A–D. You split A–M / N–Z. What happens?
One ledger got too heavy, so the orders are filed across several books on a shelf. Each tab is a different rule for deciding which book a name goes in, and the load bars show what that rule costs. Watch one book turn hot while its neighbours sit idle.
Preparing for interviews? The ten-week plan puts this in order with DSA and the design rounds.
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.
see also Dynamo: Amazon's Highly Available Key-value Store, MapReduce: Simplified Data Processing on Large Clusters, Bigtable: A Distributed Storage System for Structured Data, Consistent Hashing and Random Trees, Kafka: a Distributed Messaging System for Log Processing, Zanzibar: Google's Consistent, Global Authorization System and Scaling Memcache at Facebook in Papers.