知识卡片
没有错误也可能断流
下游只监控处理错误时,上游权限丢失导致没有输入,反而会显示零错误。应同时观察请求量、成功产出、心跳和预期业务节奏,必要时告警异常下降。零错误只是一个观测值;低流量时尤其不能把错误率为零当成系统健康证明。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 16. Common Failure Patterns · 查看原书依据
If the uploader cannot upload movies, then no movies are being processed, so no errors can occur, so your error rate is 0%. But clearly, if your uploader can’t upload movies, your system is broken. Alerting on both too many and too few errors (or too few requests
参考来源
- 位置:《Designing Distributed Systems, 2nd Edition》第16章《Chapter 16. Common Failure Patterns》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch16.html)
- 结论依据:原文字幕处理上游无法上传例子说明缺少工作会让错误告警失明。
- 原始内容:If the uploader cannot upload movies, then no movies are being processed, so no errors can occur, so your error rate is 0%. But clearly, if your uploader can’t upload movies, your system is broken. Alerting on both too many and too few errors (or too few requests