Living in eventually consistent reality
summary
Planet-scale systems trade strong consistency for availability by using CRDTs (used in Redis, DynamoDB, CosmosDB and AntidoteDB) to merge state without consensus. Examples include a G-Counter (replica-local increments merged by taking maxima), a PN-counter (two G-Counters) and an OR-Set implemented with a dotted version vector to track additions/removals. Deltas send only changed dots to reduce bandwidth; vector clocks and unique dot ids avoid wall-clock time. Benchmarks cited reach tens of thousands of ops per node; cross-continent RTTs (≈300 ms) motivate the approach.
AI-written summary · about
