Comments (4)
按我的理解合并回答一下哈:
- 这里的其他请求是指图里Client A的第二次读取操作,该操作读取到了Client C的写入操作的结果(即将x从2改为4)
- 如果没有这个其他请求,Client B的最后一次读取操作和Client C的写入操作是并发的,读取到2或4都有可能,所以原文会说读取到2也是可以的
- 但因为已经有了这个其他请求,不管Client B和Client C的操作怎么并发,至少Client A已经看到了Client C的写入结果,那发生时间更晚的Client B读取操作也必须能看到这个结果,这样才能说满足线性一致性的要求
from ddia.
没有进一步的疑问,就先 close 这个 issue 了哈。
from ddia.
按我的理解合并回答一下哈:
- 这里的其他请求是指图里Client A的第二次读取操作,该操作读取到了Client C的写入操作的结果(即将x从2改为4)
- 如果没有这个其他请求,Client B的最后一次读取操作和Client C的写入操作是并发的,读取到2或4都有可能,所以原文会说读取到2也是可以的
- 但因为已经有了这个其他请求,不管Client B和Client C的操作怎么并发,至少Client A已经看到了Client C的写入结果,那发生时间更晚的Client B读取操作也必须能看到这个结果,这样才能说满足线性一致性的要求
所以这个图只是说明了一种不符合线性一致性的反例,并不是说明如何保证线性一致性的机制,对么?
from ddia.
所以这个图只是说明了一种不符合线性一致性的反例,并不是说明如何保证线性一致性的机制,对么?
嗯,我理解是的,具体如何设计和实现应该是后面的章节所讨论的内容。
from ddia.
Related Issues (20)
- 很多图都挂了,作者能再配一下吗 HOT 2
- 建议能增加下英文原文的链接。 HOT 1
- 在线预览网站打不开 HOT 2
- 网站404 not found HOT 3
- 关于无主复制的疑问 HOT 3
- 十二张思维导图分析 HOT 2
- 第二章的 [例 2-1] 链接缺失
- GitBook WeChat Group QRcode Expired HOT 3
- 数据库
- 分支因子为 500 的 4KB 页面的四层树可以存储多达 256TB 的数据 HOT 1
- 第9章 什么使得系统线性一致,列举CAS情况出现两个x=V old HOT 5
- 日期被错误解析为 emoji HOT 1
- 生成epub无法正确显示公式 HOT 1
- 第三章存储与检索,散列索引这章最后一段翻译是不是有问题 HOT 1
- 为什么英文原版丢失了很多章节 HOT 3
- 关于英语版本文字缺失 HOT 1
- 第六章似乎存在一处翻译错误 HOT 1
- 这个翻译和[**电力出版社]赵军平 吕三平翻译的有什么不同 HOT 1
- 目录好像有点问题 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddia.