知识卡片

普通读书笔记卡 · 3394

混沌实验要有假设和护栏

理解等级:高级

故障测试先写明依赖失效假设、预期降级行为、观测指标和停止条件,再在隔离或小流量范围注入故障。目的在于验证恢复能力及故障影响范围。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第7章《Proper Service Testing》(源文件:`_epub-src/OPS/ch07.xhtml`,归一化正文 [54517:58499)) - 结论依据:原文要求通过假设、实验和结果验证故障恢复,并强调护栏和可观测性。 - 原始内容:Chaos testing is done scientifically. You create a hypothesis of how the system could fail, then you test this hypothesis with experiments, analyze the data, and then determine if the applications and system infrastructure were able to recover from failure without impacting real users. The experiments you perform can be targeted chaos, killing specific services or elements in expected ways, or random chaos, where you impact systems using any number of random techniques.