Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M2099

CAP Theorem / Brewer's Theorem

CAP Theorem / Brewer's Theorem
SystemsHigh supportSystems Theory
Included
account_tree

Version 1.0.0 · Updated 2026-07-30

CORE DEFINITION

In a distributed system (such as blockchain, cloud database), it is impossible to satisfy all three of the following simultaneously; at most, you can choose two out of three: 1. Consistency: All nodes see the same data at the same time. 2. Availability: The system responds to every request (does not crash). 3. Partition Tolerance: The system continues to operate even if network failures prevent nodes from communicating.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

In theoretical computer science, the CAP theorem, also known as Brewer's theorem, states that it is impossible for a distributed computing system to simultaneously satisfy the following three guarantees: Consistency: All nodes access the same latest data copy. Availability: Every request receives a non-error response, but without guarantee that the data is the latest. Partition tolerance: In effect, partition refers to a time limit on communication. If the system cannot achieve data consistency within the time limit, it means a partition has occurred, and a choice must be made between C and A for the current operation. The simplest way to understand CAP is to imagine two nodes on opposite sides of a partition. Allowing...

anchor

Anchor fast decisions

Based on the 'distributed impossible trinity'. Network partitions (P) are inevitable, so in practice, there is a trade-off between C and A; during a partition, either choose consistency (sacrificing availability) or availability (sacrificing consistency).

MINIMUM ACTION

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more

Source support: Explicit

  • link
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/CAP%E5%AE%9A%E7%90%86ZH · Explicit
    verified

RELATED MODELS