返回主题:软件架构脆弱性

知识卡片

普通读书笔记卡 · 2313.e.5.m.1.e

事件树难预测处理副作用

理解等级:中级

在广播接力式事件流程中,一个处理器可能继续触发派生事件,也可能未按预期响应;随着分支增多,单看起始事件难以预测实际处理路径。设计时须把可能的派生链、失败分支和观察手段纳入评估,不能因单个处理器代码简单就假定整条业务流程确定。这里描述的是架构风险,不代表任一具体系统已经发生该故障。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Event-Driven Architecture Style · 查看原书依据

      One of the main risks associated with EDA is that its nondeterministic event processing can cause side effects: for instance, event processors unexpectedly triggering derived events or not responding to an event when they should.

    参考来源

    - 位置:《Fundamentals of Software Architecture》原书第15章《Event-Driven Architecture Style》(阅读计划第18项,单元20;源文件:`OEBPS/ch15.html`) - 结论依据:原书指出非确定性处理会产生意外派生事件或缺失响应,复杂工作流难预测。 - 原始内容:One of the main risks associated with EDA is that its nondeterministic event processing can cause side effects: for instance, event processors unexpectedly triggering derived events or not responding to an event when they should.