- 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.
推薦閱讀
- C#高級編程(第10版) C# 6 & .NET Core 1.0 (.NET開發經典名著)
- TypeScript入門與實戰
- Mastering OpenCV Android Application Programming
- 跟“龍哥”學C語言編程
- Learning ArcGIS Pro 2
- Learning SAP Analytics Cloud
- 數據結構習題精解(C語言實現+微課視頻)
- Python機器學習算法與實戰
- Oracle JDeveloper 11gR2 Cookbook
- Learning Python by Building Games
- The Complete Coding Interview Guide in Java
- Extending Unity with Editor Scripting
- 后臺開發:核心技術與應用實踐
- Python數據可視化之美:專業圖表繪制指南(全彩)
- Android應用開發實戰(第2版)