知识卡片
心跳与探测责任不同
监控器汇集处理器、进程、I/O与共享资源健康状态;ping/echo由观察方发请求并等回声,心跳由被监控方定期报告。看门狗用被监控方周期重置的计时器检测失联。三者都依赖合理超时与观察路径,漏心跳表示需要调查的故障信号,不自动证明远端业务已不可恢复。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 第04章 可用性
原书出处 · 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.