知识卡片
事件顺序不等于墙钟时间
网络同步时钟仍有误差,收到精确时间的回答也晚于它被产生的时刻。很多协作真正需要的是先后关系,可用向量时钟等因果计数机制而不是比较两机读数。向量时钟能表达因果与并发,不会自动给所有事件唯一全序;若确需物理时间必须明确误差预算。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 云与分布式计算 · 查看原书依据
For an architect, successful time coordination involves knowing whether you really need to rely on actual clock times, or whether ensuring correct sequencing suffices. If the former is important, then know your accuracy requirements and choose a solution accordingly.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第17章《云与分布式计算》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch17.html)
- 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。
- 原始内容:For an architect, successful time coordination involves knowing whether you really need to rely on actual clock times, or whether ensuring correct sequencing suffices. If the former is important, then know your accuracy requirements and choose a solution accordingly.