Reference atlas
Look up a concept or study the reasoning behind a merge rule. Each article lists its complexity and links to relevant lessons and background reading.
For a specific data type and its demo, browse the structure lessons.
Structures
Study concurrent writes and removals beyond the structure lessons.
-
Multi-value registers
Complexity IntermediateRetain concurrent writes, then replace only the versions a later writer has observed.
Helpful background: Vector clocks, Dots and causal context
Structure lessons: MvRegister
-
Observed-remove sets
Complexity AdvancedRemove observed addition dots while preserving a concurrent add and rejecting stale replay.
Helpful background: Dots and causal context
Structure lessons: TwoPSet, Observed-remove set, OR-map
Mechanisms
Understand local events, causal order, and the metadata used to compare them.
-
Dots and causal context
Complexity AdvancedTrack one event and the exact history that has observed it.
Structure lessons: MvRegister, Observed-remove set, OR-map
-
Lamport clocks
Complexity IntermediateOrder causal predecessors with one counter without mistaking scalar order for causality.
Helpful background: Partial order
Structure lessons: LWWRegister, LWWMap
-
Local history
Complexity IntroductorySeparate the events at a replica from the history it learns through messages.
Structure lessons (16)
G-counter, PN-counter, SharedCounter, GSet, TwoPSet, RegisterMap, SharedMap, SharedDirectory, SequenceCrdt, TextCrdt, Claims, FifoWorkQueue, TaskManager, PactMap, JsonOt, RichTextOt
-
Partial order
Complexity IntermediateFollow causal paths without forcing independent events into a shared sequence.
Helpful background: Local history
Structure lessons (13)
SharedCounter, RegisterMap, SharedMap, LWWRegister, LWWMap, SequenceCrdt, TextCrdt, Claims, FifoWorkQueue, TaskManager, PactMap, JsonOt, RichTextOt
-
Tracing distributed systems
Complexity IntermediateUse event records and message links to investigate what happened across computers.
Helpful background: Local history, Partial order
-
Vector clocks
Complexity AdvancedCompare every replica component to distinguish causal order from concurrency.
Helpful background: Lamport clocks
Structure lessons: MvRegister
Failure modes
Reproducible bugs and the mechanisms that cause or prevent them.
-
Network partitions
Complexity IntermediateExamine what computers can do and know when communication between them is interrupted.
Helpful background: Local history, Partial order
Systems
Inside the Atlas
Implementation notes on the Atlas, its demos, and their infrastructure.
-
How multiplayer rooms work
Complexity IntermediateCompare CRDT merging and DDS sequencing over shared room connections and durable storage.
Structure lessons: G-counter, SharedCounter