知识卡片
远端时钟不能直接排序
不同机器的物理时钟可能漂移,跨机采集的来源时间戳不能直接当作统一顺序。归并前应识别时钟偏移、时间戳记录的是哪一刻以及时钟是否单调。受控时钟仍能用于超时,给出不确定区间的时间服务还能支撑事务排序。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 8. Introduction and Overview Clocks and Time · 查看原书依据
Assuming that clocks on remote machines run in sync can also be dangerous. Combined with latency is zero and processing is instantaneous, it leads to different idiosyncrasies, especially in time-series and real-time data processing. For example, when collecting and
参考来源
- 位置:《Database Internals》Chapter 8. Introduction and Overview(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch08.html#idm46104531153032,段 53)
- 结论依据:原文区分时间戳直接同步、进程本地超时及 Spanner 时间不确定性界限。
- 原始内容:Assuming that clocks on remote machines run in sync can also be dangerous. Combined with latency is zero and processing is instantaneous, it leads to different idiosyncrasies, especially in time-series and real-time data processing. For example, when collecting and