CRDTs in Go: Merging Replicas Without Conflicts
Two replicas receive updates in different orders, some twice, and must still end up identical, with no leader and no locks. Three equations about a merge function make that possible. We explain them with a counterexample for each, then build four CRDTs in Go (G-Counter, PN-Counter, LWW-Register, OR-Set) and check convergence on 1.5 million random merges.
#Distributed-Systems #Go #CRDT #Algorithms
November 19, 2026