知识卡片
事件链隐藏业务流程
涌现行为指多个反应式组件相互作用后,只有运行观察才能看清的整体行为;它不一定预先设计,既可带来灵活性,也可能失控。连续订阅若实现固定业务顺序,就构成事件链。付款后发货这类流程存在端到端责任人和SLA,却没有显式控制顺序的位置。改成先取货再付款可能同时修改支付、库存、发货的订阅,还需协调上线,并区分旧订单继续旧路径还是切换新路径。局部事件解耦不保证整体流程易变更。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 平衡编排与协同 · 查看原书依据
An event chain is a series of event subscriptions that really implement a logical flow or business process, so that these event subscriptions are not independent. In this case you want the tasks to happen in a certain order, e.g., to make sure you receive payment before you actually ship anything. But there is no
参考来源
- 位置:《Practical Process Automation》第8章《平衡编排与协同》(来源项目:book-sources;源文件:extracted/Practical Process Automation (Bernd Ruecker)/_epub-src/OEBPS/ch08.xhtml)
- 结论依据:原文给出的机制、实例与边界支持本卡的解释。
- 原始内容:An event chain is a series of event subscriptions that really implement a logical flow or business process, so that these event subscriptions are not independent. In this case you want the tasks to happen in a certain order, e.g., to make sure you receive payment before you actually ship anything. But there is no