Skip to content

CAP and PACELC

What CAP really forces during a partition, who loses availability, and why PACELC's latency-versus-consistency choice matters every day.

25 min7 steps

By the end you can
  • State precisely what CAP forces during a network partition and which clients lose availability
  • Use PACELC to name and quantify the latency cost of consistency when there is no partition
  • Classify a concrete store configuration by what it gives up during a partition and in normal operation

What the theorem actually says

Consistency

  • Linearizable
  • A read never misses a finished write
  • Not the C in ACID

Availability

  • Every live node answers
  • A timeout counts as down

Partition tolerance

  • Network drops messages
  • Not optional across machines
During a partition you give up C or A. Without one, you keep both.

Which statement matches the proven CAP theorem?

Answer this step to continue.