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

  • 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.

主站蜘蛛池模板: 蒙阴县| 天水市| 黄冈市| 新泰市| 安龙县| 五家渠市| 龙口市| 铜梁县| 菏泽市| 扎兰屯市| 河池市| 阳东县| 东港市| 天长市| 湘阴县| 毕节市| 墨玉县| 巴林右旗| 平南县| 泗洪县| 深圳市| 南丹县| 景泰县| 黔西县| 巴南区| 长沙县| 策勒县| 石楼县| 淳化县| 综艺| 巨鹿县| 陇南市| 晋宁县| 大方县| 五大连池市| 和龙市| 铁岭市| 彭阳县| 马尔康县| 长乐市| 法库县|