知识卡片

普通读书笔记卡 · 5407.c

时间戳检测事件顺序

理解等级:中级

时间戳或序号可揭示事件错序,适合分布式消息系统。不同处理器的时钟可能不一致,因此不能只凭各自本地时间就断定全局先后;原章也允许用序号。该战术检验顺序是否合理,不替代所有消息内容和状态一致性检查。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 可用性 · 查看原书依据

      Timestamp. This tactic is used to detect incorrect sequences of events, primarily in distributed message-passing systems. A timestamp of an event can be established by assigning the state of a local clock to the event immediately after the event occurs.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第4章《可用性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch04.html) - 结论依据:原文的定义、机制或比较支持“时间戳或序号可揭示事件错序,适合分布式消息系统”;正文保留其条件与取舍。 - 原始内容:Timestamp. This tactic is used to detect incorrect sequences of events, primarily in distributed message-passing systems. A timestamp of an event can be established by assigning the state of a local clock to the event immediately after the event occurs.