Explore replicated data structures
The atlas covers six families of shared data, from counters to text editing. Each lesson has a demo you can run. Reference sheets explain the mechanism behind each result.
Learn the behavior before the mechanism
Each structure makes a different promise when updates arrive late or in a different order. Start with that promise. Then open the mechanism that keeps it.
The lessons follow three hikers who keep separate notebooks and compare notes later. Some structures also need a ranger station that numbers every change. Simpler ones work without it.
- Counters
- Independent increments can combine because addition does not need a winner.
- Sets
- Removal needs a rule for additions that were observed, concurrent, or replayed later.
- Registers
- Concurrent writes force a choice: select one value or preserve every sibling.
- Maps
- Each key composes one of those conflict rules into a larger state model.
- Sequences
- Concurrent inserts need stable positions, because a list index changes when someone else edits first.
- Coordination
- Some decisions cannot merge, so one central service picks the owner or the accepted value.
Open the mechanism when a result surprises you
When a structure keeps a concurrent value or rejects a stale replay, the reference atlas explains why. Its sheets cover dots, histories, orders, clocks, and failure modes. Most sheets include a lab: delay messages, make concurrent updates, and inspect the state behind the merge.