Lab
Interactive explorations — click around, break things, see what happens.
- CRDTs Explore grow-only counters, PN-counters, last-writer-wins registers, and observed-remove sets.
- Logical Clocks Send messages between nodes. Compare how Lamport clocks and vector clocks track causality.
- Erasure Coding Split data into chunks, add parity, and reconstruct after failures.
- Order Book Place orders, watch them match, and see how price discovery works.
- Raft Leader Election Trigger elections, kill nodes, partition the network, and watch consensus emerge.
- Two-Phase Commit Step through the atomic commit protocol, trigger failures, and see why 2PC can block.
- Multicast (PIM-SM) Build shared trees, register sources, and switch to shortest-path trees.
- Feedback Loops Watch exponential growth, goal-seeking, oscillation, and S-curves emerge from stocks and flows.
- Consistent Hashing Add and remove nodes on a hash ring, watch which keys move, and compare with naive modulo hashing.
- Gossip Protocol Watch epidemic-style gossip spread through a cluster, kill nodes, and see why random peer selection is robust.