知识卡片
心跳与探测的方向
探测由观察者发送请求并等待目标进程应答。心跳由目标进程定期主动向同伴报送。两者都能更新最近响应时刻,根据预设截止时间怀疑超期节点。判断受消息延迟和观察者网络路径影响。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 9. Failure Detection Heartbeats and Pings · 查看原书依据
Each process maintains a list of other processes (alive, dead, and suspected ones) and updates it with the last response time for each process. If a process fails to respond to a ping message for a longer time, it is marked as suspected.
参考来源
- 位置:《Database Internals》Chapter 9. Failure Detection(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch09.html#idm46104530779896,段 21)
- 结论依据:正文给出两种消息方向,并用 ACK 延迟说明超时可能误判。
- 原始内容:Each process maintains a list of other processes (alive, dead, and suspected ones) and updates it with the last response time for each process. If a process fails to respond to a ping message for a longer time, it is marked as suspected.