- 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.
推薦閱讀
- 我的J2EE成功之路
- JMAG電機電磁仿真分析與實例解析
- Splunk Operational Intelligence Cookbook
- Blender 3D Printing by Example
- Windows Server 2003系統安全管理
- Excel 2007常見技法與行業應用實例精講
- Hadoop應用開發基礎
- 網絡管理工具實用詳解
- Mastering GitLab 12
- 水晶石影視動畫精粹:After Effects & Nuke 影視后期合成
- 三菱FX/Q系列PLC工程實例詳解
- FANUC工業機器人配置與編程技術
- 計算機應用基礎學習指導與練習(Windows XP+Office 2003)
- Mastercam X5應用技能基本功特訓
- 暗戰強人:黑客攻防入門全程圖解