← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 4523

故障注入检验响应边界

理解等级:高级

代理可以按配置比例注入错误或延迟,观察应用如何超时、退避与恢复。它降低构造网络故障的成本,却不保证业务代码一定健壮;测试结果可能反过来要求应用修订。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 服务网格基础 · 查看原书依据

      Delay and fault injection The notion that your networks and/or systems will fail must be embraced. Why not preemptively inject failure and verify behavior? Given that proxies sit in line to service traffic, they often support protocol-specific fault injection, allowing configuration of the percentage of requests that should be subjected to faults or network delay. For instance, generating HTTP 500 errors helps to verify the robustness of your distributed application

    参考来源

    - 位置:《The Enterprise Path to Service Mesh Architectures, 2nd Edition》第01章《服务网格基础》(来源项目book-sources;源文件:extracted/The Enterprise Path to Service Mesh Architectures, 2nd Edition/_epub-src/OEBPS/ch01.xhtml) - 结论依据:原文在此说明该机制、范围或取舍;本卡保留其历史语境,不将预测、产品状态或命令作为当前已核验事实。 - 原始内容:Delay and fault injection The notion that your networks and/or systems will fail must be embraced. Why not preemptively inject failure and verify behavior? Given that proxies sit in line to service traffic, they often support protocol-specific fault injection, allowing configuration of the percentage of requests that should be subjected to faults or network delay. For instance, generating HTTP 500 errors helps to verify the robustness of your distributed application