- 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.
推薦閱讀
- Mastering Spark for Data Science
- 腦動力:C語言函數(shù)速查效率手冊
- 程序設計缺陷分析與實踐
- Windows XP中文版應用基礎
- VMware Performance and Capacity Management(Second Edition)
- 計算機圖形圖像處理:Photoshop CS3
- AWS Certified SysOps Administrator:Associate Guide
- 21天學通C語言
- Mastering ServiceNow Scripting
- HTML5 Canvas Cookbook
- Learning ServiceNow
- 在實戰(zhàn)中成長:C++開發(fā)之路
- PostgreSQL 10 High Performance
- 中小型網(wǎng)站建設與管理
- Learning OpenShift