知识卡片
调用区间定义并发
一次操作用开始调用到完成响应的区间表示。若一项操作结束之后另一项才开始,两者是顺序的。区间重叠时,两者并发,即使短操作整个被长操作包在内部。每个进程可以串行调用,合在一起仍会形成并发的全局历史。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 11. Replication and Consistency Shared Memory · 查看原书依据
We identify every operation by its invocation and completion events. We define an operation as failed if the process that invoked it crashes before it completes. If both invocation and completion events for one operation happen before the other
参考来源
- 位置:《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#idm46104530490760,段 47)
- 结论依据:原文用三种区间图例说明不重叠、相交和包含。
- 原始内容:We identify every operation by its invocation and completion events. We define an operation as failed if the process that invoked it crashes before it completes. If both invocation and completion events for one operation happen before the other