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

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.

主站蜘蛛池模板: 福贡县| 南通市| 凭祥市| 龙川县| 定南县| 龙井市| 读书| 灵武市| 临邑县| 丰镇市| 建水县| 突泉县| 乳山市| 罗平县| 双鸭山市| 阿合奇县| 福州市| 攀枝花市| 体育| 许昌县| 永春县| 雷山县| 寿阳县| 永嘉县| 昭通市| 米易县| 朝阳区| 二手房| 凉城县| 司法| 新源县| 瓮安县| 开阳县| 名山县| 巨野县| 尖扎县| 佛山市| 海盐县| 迭部县| 电白县| 江阴市|