知识卡片

普通读书笔记卡 · 5407.b

心跳与探测责任不同

理解等级:中级

监控器汇集处理器、进程、I/O与共享资源健康状态;ping/echo由观察方发请求并等回声,心跳由被监控方定期报告。看门狗用被监控方周期重置的计时器检测失联。三者都依赖合理超时与观察路径,漏心跳表示需要调查的故障信号,不自动证明远端业务已不可恢复。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 可用性 · 查看原书依据

      For systems where scalability is a concern, transport and processing overhead can be reduced by piggybacking heartbeat messages onto other control messages being exchanged. The difference between heartbeat and ping/echo lies in who holds the responsibility for initiating the health check—the monitor or the component itself.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第4章《可用性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch04.html) - 结论依据:原文的定义、机制或比较支持“监控器汇集处理器、进程、I/O与共享资源健康状态;ping/echo由观察方发请求并等回声,心跳由被监控方定期报告”;正文保留其条件与取舍。 - 原始内容:For systems where scalability is a concern, transport and processing overhead can be reduced by piggybacking heartbeat messages onto other control messages being exchanged. The difference between heartbeat and ping/echo lies in who holds the responsibility for initiating the health check—the monitor or the component itself.