知识卡片
超时是迟到判断不是诊断
超时只说明未按期收到回应,无法区分慢处理、服务或主机故障以及网络问题,也可能把正常长尾误判成失败。恢复有启动与会话代价,可结合等待时限、观测窗口和连续漏回次数调整,按网络波动而不是凭固定经验数值设定。触发恢复不等于原请求没执行。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 云与分布式计算 · 查看原书依据
Timeouts can’t distinguish between a failed computer or broken network connection and a slow reply to a message that exceeds the timeout period. This will cause you to label some slow responses as failures.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第17章《云与分布式计算》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch17.html)
- 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。
- 原始内容:Timeouts can’t distinguish between a failed computer or broken network connection and a slow reply to a message that exceeds the timeout period. This will cause you to label some slow responses as failures.