CAP theorem
The CAP theorem, also known as Brewer's theorem, is a concept in distributed computing that outlines the trade-offs between three crucial properties—Consistency, Availability, and Partition Tolerance. Proposed by Eric Brewer around the year 2000, the CAP theorem asserts that, in a distributed data store, it is impossible to simultaneously guarantee all three of the following:
In a distributed system, network partitions (communication breakdowns between nodes) are inevitable. The CAP theorem acknowledges that, during a network partition, a choice must be made between providing consistency or availability. This led to the famous saying that in the event of a network partition, a system can either be "consistent and partition-tolerant (CP)" or "available and partition-tolerant (AP)." The CAP theorem is a fundamental principle in designing and understanding distributed systems, influencing architects and engineers in making decisions about system trade-offs based on the specific requirements and priorities of their applications. |