知识卡片
逻辑时钟与物理时钟
逻辑时钟以单调增长的计数器表示进展。物理时钟从进程本地取得,以现实时间为参照。两者分别为事件次序和实际时间提供不同信息,使用时间值前要明白它来自哪种时钟。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Part II. Distributed Systems Part II. Basic definitions · 查看原书依据
Processes can access the time using a clock, which can be logical or physical. Logical clocks are implemented using a kind of monotonically growing counter. Physical clocks, also called wall clocks, are bound to a notion of time in
参考来源
- 位置:《Database Internals》Part II. Distributed Systems(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/part02.html#distributed_systems,段 11)
- 结论依据:原文分别定义单调计数器和本地墙上时钟。
- 原始内容:Processes can access the time using a clock, which can be logical or physical. Logical clocks are implemented using a kind of monotonically growing counter. Physical clocks, also called wall clocks, are bound to a notion of time in