CockroachDB: Multi-Active Ranges Instead of a Single Primary in Another ZIP Code
How CockroachDB splits tables into ranges, replicates them with Raft, and serves from multiple regions without one global write master.
3 min read
Engineering at scale
3 articles · 8 min of reading
How CockroachDB splits tables into ranges, replicates them with Raft, and serves from multiple regions without one global write master.
How CockroachDB implements SQL — including serializable transactions — on a distributed key-value map, and why contention shows up as retries instead of silent anomalies.
Spanner waits out clock uncertainty; CockroachDB combines hybrid logical clocks with uncertainty intervals. Same serializability goal, different physics.