encyclopegia.org

CAP theorem

In database theory, the CAP theorem, also named Brewer's theorem after computer scientist Eric Brewer, states that any distributed data store can provide at most two of the following three guarantees: ; Consistency: Every read receives the most recent write or an error. Consistency means that all clients see the same data at the same time, no matter which node they connect to. For this to happen, whenever data is written to one node, it must be instantly forwarded or replicated to all the other nodes in the system before the write is deemed ‘successful’ . Consistency as defined in the CAP theorem is quite different from the consistency guaranteed in ACID database transactions. ; Availability: Every request received by a non-failing node in the system must result in a response, without the guarantee that it contains the most recent version of the data . This is the definition of availability in CAP theorem as defined by Gilbert and Lynch. Availability as defined in CAP theorem is different from high availability in software architecture. ; Partition tolerance: The system continues to operate despite an arbitrary number of messages being dropped (or delayed) by the network between nodes.…

In database theory, the CAP theorem, also named Brewer's theorem after computer scientist Eric Brewer, states that any distributed data store can provide at most two of the following three guarantees: Consistency: Every read receives the most recent write or an error. Consistency means that all clients see the same data at the same time, no matter which node they connect to. For this to happen, whenever data is written to one node, it must be instantly forwarded or replicated to all the other nodes in the system before the write is deemed ‘successful’ . Consistency as defined in the CAP theorem is quite different from the consistency guaranteed in ACID database transactions. Availability: Every request received by a non-failing node in the system must result in a response, without the guarantee that it contains the most recent version of the data . This is the definition of availability in CAP theorem as defined by Gilbert and Lynch. Availability as defined in CAP theorem is different from high availability in software architecture. Partition tolerance: The system continues to operate despite an arbitrary number of messages being dropped (or delayed) by the network between nodes. When a network partition failure happens, it must be decided whether to do one of the following: cancel the operation and thus decrease the availability but ensure consistency proceed with the operation and thus provide availability but risk inconsistency. This does not necessarily mean that system is highly available to its users. Thus, if there is a network partition, one has to choose between consistency or availability. During times of normal operations, a data store covers all three.

References

No reference rows published for this article.

Cite this article

MLA

"CAP theorem." encyclopegia.org, 2026, https://encyclopegia.org/wiki/cap-theorem. Accessed 25 November 2026.

Chicago

"CAP theorem." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/cap-theorem.

APA

encyclopegia.org. (2026). CAP theorem. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/cap-theorem

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

theorem

stub · references available

SMS Cap Trafalgar

stub · references available

multiplication theorem

stub · references available

Brianchon's theorem

stub · references available

Fermat's Last Theorem

stub · references available

Cap-Chat

stub · references available

rotten kid theorem

stub · references available

rational root theorem

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1374143441 · 0.5 · snapshot enwiki-001374143441

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.