Speaker Deck

CAP Theorem: You don’t need CP, you don’t want AP, and you can’t have CA

by Siddhartha Reddy

Published July 16, 2015 in Technology

Video: https://www.youtube.com/watch?v=hUd_9FENShA

CAP Theorem is everywhere: “Consistency, Availability, Partition tolerance — choose any two!” But it is oversimplified and misunderstood more often than not. CAP’s consistency isn’t what most people think it is; CAP’s availability isn’t what most people think it is; what does partition-tolerance even mean?

In this talk we’ll explore the CAP-theorem and understand what it is really asserting. We’ll understand that just calling a system out as CP or AP (or even CA) is pretty pointless, and learn to judge them beyond the simple monikers. We’ll also analyse some popular databases of the world (MySQL, ZooKeeper, Cassandra, Kafka etc.) with this framework.