← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2313.e.5.f.10.b.1.c.1.a.1

存活与就绪探针分工

理解等级:中级

存活探针判断进程是否需要重启;就绪探针判断它当前能否接收流量。依赖短暂失效未必该重启全部实例,就绪失败可先摘除流量。把两者混用可能让恢复中的系统反复重启。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Design for Speed and Efficiency · 查看原书依据

      Health monitoring and self-healing: Implement health monitoring and self-healing mechanisms to detect process failures and automatically recover from them. Use health checks to periodically assess the status of processes and restart or replace them if they become unresponsive or fail.

    参考来源

    - 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第05章《Design for Speed and Efficiency》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch05.xhtml) - 结论依据:原文的机制或对比支持以下核心判断:存活探针判断进程是否需要重启;就绪探针判断它当前能否接收流量。 本卡将相邻说明中的适用限制保留为解释。 - 原始内容:Health monitoring and self-healing: Implement health monitoring and self-healing mechanisms to detect process failures and automatically recover from them. Use health checks to periodically assess the status of processes and restart or replace them if they become unresponsive or fail.