CAPteoreema
CAPteoreema is a fundamental concept in distributed computing that states it is impossible for a distributed data store to simultaneously provide more than two out of the following three guarantees: Consistency, Availability, and Partition Tolerance. This theorem, first articulated by Eric Brewer in 2000 and later formally proven by Seth Gilbert and Nancy Lynch, is crucial for understanding the design choices and trade-offs inherent in building scalable and reliable distributed systems.
Consistency in this context means that every read receives the most recent write or an error. Availability
The CAP theorem implies that in the presence of a network partition (which is inevitable in a
Modern distributed systems often choose to be Partition Tolerant and either Consistent or Available. For example,