知识卡片

普通读书笔记卡 · 4359.g.1.e

编排集中流程责任

理解等级:高级

编排由专门协调器管理流程状态、分支、错误、通知和重试,领域服务保留各自的数据与行为。微服务通常为每条工作流设置协调器;全局企业服务总线会把原本独立的流程重新耦合。复杂取消、退款、缺货等分支能沿已有通信路径处理,代价是协调器可能成为吞吐瓶颈和故障点,需为冗余及状态恢复承担复杂度。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 管理分布式工作流 · 查看原书依据

      In this example, services A-D are domain services, each responsible for its own bounded context, data, and behavior. The Orchestrator component generally doesn’t include any domain behavior outside of the workflow it mediates.

    参考来源

    - 位置:《Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)》第11章《Chapter 11. Managing Distributed Workflows》(来源项目:book-sources;源文件:extracted/Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)/_epub-src/OEBPS/ch11.xhtml) - 结论依据:原文的定义、示例或失败路径支持以下归纳:编排由专门协调器管理流程状态、分支、错误、通知和重试,领域服务保留各自的数据与行为。 其他条件结合本章同小节说明;不将模式目标当成已有运行保证。 - 原始内容:In this example, services A-D are domain services, each responsible for its own bounded context, data, and behavior. The Orchestrator component generally doesn’t include any domain behavior outside of the workflow it mediates.