知识卡片

结构图卡 · 2285.j.9

流程归属单一上下文

理解等级:高级

端到端业务穿过多个服务,不意味着一个可执行模型应知道所有服务内部逻辑。每个流程模型是领域逻辑,应由一个服务团队完整拥有。履约只需知道付款成功或取消,库存团队负责采购。仅把大模型拆成子流程并未转移责任;真正的隔离要求把责任交给独立服务。引擎集中部署与模型责任分离是两项独立决定。

结构图:

flowchart LR
履约流程 -->|请求与结果| 支付服务
履约流程 -->|请求与结果| 库存服务
支付服务 --> 支付内部流程
库存服务 --> 补货内部流程
这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 自治、边界与隔离 · 查看原书依据

      In this case, process models like the one sketched earlier, become process monoliths. Figure 7-3 visualizes such a monolith for the order fulfillment example. This process model violates the boundaries and thus the ownership of the involved services. It shows details of different contexts that should never be combined within one model. For example, it

    参考来源

    - 位置:《Practical Process Automation》第7章《自治、边界与隔离》(来源项目:book-sources;源文件:extracted/Practical Process Automation (Bernd Ruecker)/_epub-src/OEBPS/ch07.xhtml) - 结论依据:原文给出的机制、实例与边界支持本卡的解释。 - 原始内容:In this case, process models like the one sketched earlier, become process monoliths. Figure 7-3 visualizes such a monolith for the order fulfillment example. This process model violates the boundaries and thus the ownership of the involved services. It shows details of different contexts that should never be combined within one model. For example, it