AlgoViz

Inside a distributed task scheduler

hard 30 min

How a scheduler finds due tasks, gives each to one worker, survives crashes at every step and grows: a store that is the truth, a claim with a lease, tokens that stop late workers, and partitions.