- Learning PostgreSQL 10(Second Edition)
- Salahaldin Juba Andrey Volkov
- 163字
- 2021-07-02 22:42:01
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.
推薦閱讀
- 32位嵌入式系統與SoC設計導論
- Circos Data Visualization How-to
- 錯覺:AI 如何通過數據挖掘誤導我們
- Mobile DevOps
- 輕松學Java
- 大數據技術入門(第2版)
- Photoshop CS3圖層、通道、蒙版深度剖析寶典
- DevOps:Continuous Delivery,Integration,and Deployment with DevOps
- INSTANT Autodesk Revit 2013 Customization with .NET How-to
- Nginx高性能Web服務器詳解
- Docker on Amazon Web Services
- 基于企業網站的顧客感知服務質量評價理論模型與實證研究
- INSTANT Adobe Story Starter
- JRuby語言實戰技術
- 計算智能算法及其生產調度應用