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

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.

主站蜘蛛池模板: 当雄县| 富源县| 郓城县| 肥东县| 类乌齐县| 乌兰察布市| 丹东市| 麻城市| 玉林市| 福海县| 丰原市| 徐汇区| 隆德县| 芦山县| 颍上县| 哈密市| 东丰县| 靖安县| 饶阳县| 陆河县| 格尔木市| 商水县| 娱乐| 河北省| 清新县| 夏津县| 芜湖县| 囊谦县| 乐至县| 璧山县| 兴仁县| 洮南市| 鄯善县| 阳西县| 舞钢市| 黔南| 肃宁县| 寿宁县| 三原县| 如东县| 民县|