知识卡片
存活与就绪分开
存活检查回答应用是否失去进展、需要重启;就绪检查回答现在是否能接业务流量。正在下载初始缓存的进程可以存活却未就绪,错误地重启会打断有用初始化。探针应反映各自语义,不能把所有暂时不能服务的情况都判为进程死亡。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 2. Important Distributed System Concepts · 查看原书依据
The second notion of health is readiness. Readiness indicates that an application is ready to be used. At first blush, readiness and liveness would seem to be the same thing, but in many circumstances an application can be alive but not ready. The easiest example to understand
参考来源
- 位置:《Designing Distributed Systems, 2nd Edition》第02章《Chapter 2. Important Distributed System Concepts》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch02.html)
- 结论依据:原文缓存初始化例子解释alive不等于ready及两种编排动作。
- 原始内容:The second notion of health is readiness. Readiness indicates that an application is ready to be used. At first blush, readiness and liveness would seem to be the same thing, but in many circumstances an application can be alive but not ready. The easiest example to understand