← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2313.e.5.q.3

一致性选择影响应用

理解等级:高级

复制一致性决定读者何时、以什么规则观察到写入。等待更广范围确认可能增加延迟,异步复制可早返回,却可能让后续请求读到旧值。订单写入后列表暂时不可见说明读己之写的重要性。书中的“全数据中心确认”仅是示例,不能视为强一致性的必要实现;应按具体读写保证选择存储模型。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 2. Important Distributed System Concepts · 查看原书依据

      In an eventually consistent system, the data is guaranteed to be the same everywhere “eventually,” where eventually can actually mean a long-ish time. To make this a little more concrete, consider a system which replicates its data to all of the data centers it maintains in the world.

    参考来源

    - 位置:《Designing Distributed Systems, 2nd Edition》第02章《Chapter 2. Important Distributed System Concepts》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch02.html) - 结论依据:原文用跨数据中心读写说明延迟和旧读体验,卡片将其限定为示意模型。 - 原始内容:In an eventually consistent system, the data is guaranteed to be the same everywhere “eventually,” where eventually can actually mean a long-ish time. To make this a little more concrete, consider a system which replicates its data to all of the data centers it maintains in the world.