知识卡片
后备路径也要测试
故障切换、缓存和备用代码也会失效,且维护与跨区域成本不同。设计后备路径时应明确能接受的停机损失、数据新鲜度和切换成本,并实际演练;仅添加一条“备用”分支不等于提高可靠性。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Principles of Software Architecture Modernization》第2章《Anti-Patterns: Lack of Isolation》(源文件:`_epub-src/OPS/ch02.xhtml`,归一化正文 [71411:75552))
- 结论依据:原文指出跨区域故障切换更复杂且昂贵,缓存本身也可能有缺陷或故障,后备路径必须测试。
- 原始内容:Caches can have bugs, need to be tested very well, and inherently become part of the reliability path. Like any software component, caches can also fail and create their own problems.