知识卡片
以允许的历史描述一致性
状态视角检查多个副本当前满足哪些不变量,操作视角约束调用者看到的操作顺序和返回值。后者可将任意并发交错缩成模型允许的一部分历史,使客户端知道可依赖哪些结果。更强顺序保证往往消耗网络、I/O 与等待时间。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 11. Replication and Consistency Shared Memory · 查看原书依据
Consistency models provide different semantics and guarantees. You can think of a consistency model as a contract between the participants: what each replica has to do to satisfy the required semantics, and what users can expect when issuing read and write operations.
参考来源
- 位置:《Database Internals》Chapter 11. Replication and Consistency(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch11.html#consistency_models,段 76)
- 结论依据:原文用参与者契约描述一致性模型,区分状态与操作保证,并列同步成本。
- 原始内容:Consistency models provide different semantics and guarantees. You can think of a consistency model as a contract between the participants: what each replica has to do to satisfy the required semantics, and what users can expect when issuing read and write operations.