Structures
Each family solves one kind of shared-data problem. The lessons follow one story in order, so start with counters if the topic is new.
Compare the three ways shared data can agree: CRDT, DDS, and OT-
Counters
Count up, count down, or put every change in one shared order.
-
Sets
Choose whether items stay forever, leave forever, or can return.
-
Registers
Choose one answer or keep several answers until someone resolves them.
-
Maps
Store named values and decide what happens when people change the same one.
-
Sequences
Keep lists and text in order while several people edit them.
-
Coordination
Let one central service pick the owner, worker, assignee, or accepted value.