- Advanced
- Consistency and consensus
Where it shows up in real systems
-
Wide-column store
Every node accepts writes and each row is stored on RF replicas. The consistency level decides how many replicas must answer: ONE is fast and stays available when nodes fail but can return stale data; QUORUM on both reads and writes guarantees you read your latest write, at the cost of latency and availability. This is PACELC in practice.
In production: Apache Cassandra, ScyllaDB, Amazon Keyspaces, Azure Managed Instance for Cassandra
-
Coordination service
Runs Raft or ZAB on an odd number of nodes: three nodes survive one failure, five survive two. Use it for small, critical data, never as a general database.
In production: etcd, Apache ZooKeeper, Consul KV
See it break, then fix it
Build an architecture, send it a day of traffic and outages, and learn why it holds or fails. Free to start.