intermediateReal-World Systems~45 min
Lamport Clocks
Order events across machines with no synchronized wall clock. Build Lamport's logical clock — a counter that ticks on every local event, rides along on every message, and jumps forward on receipt — then use it to impose a consistent total order over a distributed system. The foundation of causality tracking behind vector clocks, version vectors, and distributed databases.