Architecture

CAP Theorem

A distributed system can only guarantee two of three: Consistency, Availability, Partition Tolerance.

Formulated by Eric Brewer in 2000, the CAP Theorem states that in any distributed data store, you can only provide two of the following three guarantees simultaneously:

Since network partitions are unavoidable in distributed systems, the real choice is between CP (consistent but may be unavailable) and AP (available but may return stale data).

Resources

Open the interactive DevLaws app for protocols, bookmarks, and AI enforcement.

Open in app Browse all laws Marketing site