官术网_书友最值得收藏!

The CAP theorem

The CAP theorem states that it is impossible for a distributed computing system to simultaneously provide all three of the following guarantees:

  • Consistency: All clients see (immediately) the latest data even in the case of updates.
  • Availability: All clients can find a replica of some data even in the case of a node failure. This means that even if some part of the system goes down, the clients can still access the data.
  • Partition tolerance: The system continues to work regardless of arbitrary message loss or failure of part of the system.

The choice of which feature to discard determines the nature of the system. For example, one could sacrifice consistency to get a scalable, simple, and high performance database management system. Often, the main difference between a relational database and a NoSQL database is consistency. A relational database enforces ACID (atomicity, consistency, isolation, durability) properties. In contrast, many NoSQL databases adopt the basically available soft-state, eventual consistency (base) model.

主站蜘蛛池模板: 易门县| 永丰县| 新绛县| 冷水江市| 抚宁县| 黔江区| 石柱| 台北市| 利辛县| 安塞县| 临泽县| 嘉禾县| 合川市| 中山市| 慈利县| 安国市| 金川县| 丰县| 吉首市| 衡水市| 博乐市| 合江县| 灌南县| 德江县| 永济市| 台前县| 南木林县| 宕昌县| 麻栗坡县| 宁都县| 新龙县| 广德县| 祁门县| 洪洞县| 玉树县| 夏河县| 江陵县| 长汀县| 临夏市| 榆社县| 万安县|