知识卡片

弱CAP更贴近现实

普通读书笔记卡 · 1731.b

内容

弱 CAP 表达的是一致性、可用性、分区容忍任意两者越强,第三者可给出的保证越弱。发散:真实系统不是 CP/AP 二分,而是在多种一致性和可用性强度之间滑动。

参考来源

- 位置:《分布式系统与一致性》第16章《架构设计中的权衡》"16.3.1 弱CAP原则"一节(源文件:_epub-src/OEBPS/Text/chapter20.xhtml) - 结论依据:原文引用Brewer弱CAP原则原文"The stronger the guarantees made about any two of strong consistency,high availability,or resilience to partitions,the weaker the guarantees that can be made about the third."并译为"在强一致性、高可用性、分区容忍性三个属性中,任意两个属性越强,第三个属性就越弱",且明确一致性和可用性都可以是比CAP严格定义更弱的等级。 - 原始内容:The stronger the guarantees made about any two of strong consistency,high availability,or resilience to partitions,the weaker the guarantees that can be made about the third.(在强一致性、高可用性、分区容忍性三个属性中,任意两个属性越强,第三个属性就越弱。)……一致性不仅仅是线性一致性,也可以是比线性一致性更弱的一致性模型……可用性不仅仅是CAP定理中的CAP-Availability这种完全可用性,也可以是比完全可用性更弱的一种可用性。