知识卡片

普通读书笔记卡 · 3365

服务独立不等于业务不中断

理解等级:高级

即使支付与销售在代码、机器和数据库上隔离,销售流程仍可能依赖支付成功。评估故障隔离时要同时画出业务流程依赖,并用故障注入或负载测试验证级联路径,而不能仅凭服务独立部署推断可用性。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第2章《Anti-Patterns: Lack of Isolation》(源文件:`_epub-src/OPS/ch02.xhtml`,归一化正文 [67165:71411)) - 结论依据:原文明确指出支付服务停机仍会影响销售,因为二者通过消费者业务过程耦合,随后列出混沌与压力测试用于发现级联故障。 - 原始内容:However, take the Payments service; if the Payments service is down, this could easily impact Sales even if they are decoupled and fully isolated, as they are coupled via the overall consumer business process.