teacher
Sign in

CAP and Consistency

What the CAP theorem really says, how PACELC adds latency, and the consistency levels from strong to eventual.

30 min3 interactive

Why consistency is a question

Once data lives on several machines (replication), two copies can disagree for a moment. Consistency describes what a reader is allowed to see when that happens.

Stronger promises are simpler for programmers but cost speed and availability. Weaker promises are fast and resilient but push complexity into your application. Every distributed database picks a point on that line.

1 of 7