知识卡片
一致性模型规定可见结果
强一致要求读取满足最新写入的可见性承诺,弱一致允许暂时读不到更新,最终一致承诺更新传播后副本收敛。选择较少确认可减少等待,但不能只从返回更快推导数据一定满足某种更强语义。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 键值存储 · 查看原书依据
Consistency models Consistency model is other important factor to consider when designing a key-value store. A consistency model defines the degree of data consistency, and a wide spectrum of possible consistency models exist: •Strong consistency: any read operation returns a value corresponding to the result of the most updated write data item. A client never sees out-of-date data. •Weak consistency: subsequent read operations may not
参考来源
- 位置:《System Design Interview – An insiders guide, Second Edition》第06章《键值存储》(来源项目 book-sources;源文件:extracted/System Design Interview – An insiders guide, Second Edition/_epub-src/text/part0015.html)
- 结论依据:原文在该位置给出所述对象、机制或比较,支持本卡的解释;原书未展开的实现不作为已证明结论,算式与一致性边界在正文明确限定。
- 原始内容:Consistency models Consistency model is other important factor to consider when designing a key-value store. A consistency model defines the degree of data consistency, and a wide spectrum of possible consistency models exist: •Strong consistency: any read operation returns a value corresponding to the result of the most updated write data item. A client never sees out-of-date data. •Weak consistency: subsequent read operations may not