TAG · 4 ARTICLES

#consistency-cap

Consistency & CAP theorem

  1. SYSTEM DESIGNWhat is ZooKeeper? Coordination, leader election and config explained simplyWhen many servers must agree on who's in charge, who's alive and what the settings are, they need a trusted referee. Apache ZooKeeper is that referee. Here is what it does, how leader election works, and where etcd fits today.24 Nov 2026 · 6 min
  2. SYSTEM DESIGNCAP theorem explained: consistency vs availability when the network breaksThe CAP theorem is famous and often misquoted. The idea itself is short: when the network between your servers breaks, each side must either refuse requests or risk giving wrong answers. Learn what C, A and P really mean, why 'pick 2 of 3' is misleading, CP vs AP with real examples, and the speed-vs-accuracy trade-off you face even when the network is fine.22 Nov 2026 · 10 min
  3. SYSTEM DESIGNDatabase replication explained: leader-follower, multi-leader and leaderless quorumsKeep copies of your data on several machines and you survive crashes, serve users nearby and spread reads. But copies drift apart. Learn the three replication models, sync vs async, failover, write conflicts and quorums, and what each one costs.22 Nov 2026 · 9 min
  4. SYSTEM DESIGNStrong vs eventual consistency: consistency models explained with examplesWhen data lives on several replicas, a read might not see the latest write. Consistency models are the promises a system makes about that. Learn strong consistency, eventual consistency and the useful ones in between (causal, read-your-writes, monotonic reads) and how to pick per feature.22 Nov 2026 · 7 min