知识卡片
健康检查不保证在途完成
负载均衡探测实例并暂停向异常者派新请求,多次失败判定和复查可减少过载慢响应的误判。健康实例仍可能处理到一半崩溃,客户端需有超时恢复策略,服务则要容纳重复相同请求。冗余池还须在故障后保有足够容量;健康探测替代不了业务幂等和结果查询。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 云与分布式计算 · 查看原书依据
However, even when using health checking, a service instance might sometimes start processing a client request but never return a response. Clients must be designed so that they resend a request if they do not receive a timely response, allowing the load balancer to distribute the request to a different service instance. Services must correspondingly be designed such that multiple identical requests can be accommodated.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第17章《云与分布式计算》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch17.html)
- 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。
- 原始内容:However, even when using health checking, a service instance might sometimes start processing a client request but never return a response. Clients must be designed so that they resend a request if they do not receive a timely response, allowing the load balancer to distribute the request to a different service instance. Services must correspondingly be designed such that multiple identical requests can be accommodated.