How Can Two Offline Teams Keep Both Inspection Counts?

Choosing the last arriving total can lose someone’s work. Give each replica an owned contribution and derive a merge whose repeated delivery does not inflate the count.

14 sections · 4 questions · 1 coding challenge

1 / 14

Choosing Merge Rules That Fit the Operation

BOTIE

Dynamo described preserving divergent object versions so application logic could reconcile them. Later conflict-free replicated data type research examined data structures with precisely defined merge rules that converge under stated delivery assumptions. Redis Active-Active is one product family that uses CRDT ideas; this does not mean every Redis deployment has those semantics.

Our counter is a teaching instance of a state-based grow-only counter. We derive its merge from ownership and monotonic updates. It is suitable for accumulated inspections under those assumptions, not for every mutable document or bounded stock balance.

Sources for this history