Skip to content

PACELC Theorem

Spicy — senior dev territoryDatabase

ELI5 — The Vibe Check

PACELC is CAP theorem's smarter older sibling. It says: during a Partition, choose between Availability and Consistency. But ELSE (when things are normal), choose between Latency and Consistency. Because even when your network is fine, there's still a trade-off between speed and correctness. Real life is complicated.

Real Talk

The PACELC theorem extends CAP by addressing the latency-consistency trade-off during normal operation. It states: if there is a Partition (P), choose between Availability (A) and Consistency (C); Else (E), choose between Latency (L) and Consistency (C). For example, Cassandra is PA/EL (available during partitions, low latency normally) while CockroachDB is PC/EC (consistent in both cases).

When You'll Hear This

"PACELC explains why Cassandra is fast but eventually consistent even without failures." / "CAP only tells half the story, PACELC covers the normal case too."

Made with passive-aggressive love by manoga.digital. Powered by Claude.