知识卡片

普通读书笔记卡 · 2313.e.5.f.10.a.4.a.2

最终一致的收敛条件

理解等级:中级

最终一致性允许不同副本短暂返回不同值;更新停止、通信恢复且更新持续传播并正确合并后,副本收敛。弱一致性是更广的类别,不能一概等同最终一致。适合能容忍旧值的展示,不能单凭收敛承诺保证库存不为负。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第04章《Consistency and Availability》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch04.xhtml) - 结论依据:原文的机制或对比支持以下核心判断:最终一致性允许不同副本短暂返回不同值;更新停止、通信恢复且更新持续传播并正确合并后,副本收敛。 本卡将相邻说明中的适用限制保留为解释。 - 原始内容:Eventual consistency is a specific form of weak consistency. In an eventually consistent system, all nodes will converge to the same state over time but there may be temporary inconsistencies.