What does "CAP theorem" mean in programming?
CAP theorem is one of the most common terms in software development. This guide explains what it means, how it is used in practice, and why it matters, with real examples from the developer world.
Definition
A theorem stating that a distributed system can only guarantee two of three properties simultaneously: Consistency (every read returns the most recent write), Availability (every request receives a response), and Partition tolerance (the system continues working despite network splits). In practice, partition tolerance is required, so the real trade-off is between consistency and availability.
Example
"We chose availability over consistency for the shopping cart — it is more important that users can always add items than that all servers see the same cart at the same instant."
Related terms
Ready to practice your English at work?
Lingua-e has interactive exercises built around real developer conversations: standups, code reviews, retrospectives, and more. Practice until it comes naturally.
Try Lingua-e for free