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

  • Learning PostgreSQL 11
  • Salahaldin Juba Andrey Volkov
  • 168字
  • 2021-07-02 13:11:35

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:

  • Consistent: All clients see (immediately) the latest data even in the case of updates.
  • Available: 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 consistent and valid data.
  • Partition tolerance: The system continues to work regardless of arbitrary message loss or failure of part of the system.

The choice of which features 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 atomicity, consistency, isolation, and durability (ACID) properties. In contrast, many NoSQL databases adopt the basically available, soft-state, eventual consistency (BASE) model.

主站蜘蛛池模板: 东平县| 侯马市| 鲁山县| 巴林右旗| 天门市| 全南县| 黎平县| 麟游县| 蓝田县| 阿拉尔市| 巢湖市| 安阳市| 江陵县| 奉新县| 嫩江县| 正镶白旗| 怀来县| 莎车县| 理塘县| 桐柏县| 蕉岭县| 建瓯市| 漳平市| 正宁县| 万源市| 濉溪县| 佛坪县| 都昌县| 乌恰县| 吉安市| 措勤县| 铜鼓县| 曲松县| 库伦旗| 涟源市| 怀化市| 合阳县| 东丽区| 开化县| 安溪县| 从化市|