知识卡片
编排与协同的分工
编排由协调者掌握工作流推进与状态,协同则让服务根据事件互动。简单单次请求无需复杂协调机制,工作流越复杂越需要显式考虑状态归属与可观察性。两者没有通用赢家,应和通信、一致性及故障恢复一起评价。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 编排与协同的分工
原书出处 · 1 处
- Evolutionary Architecture Topologies · 查看原书依据
Coordination refers to how much coordination the workflow modeled by the communication requires. The two common generic patterns for microservices are orchestration and choreography. Simple workflows—a single service replying to a request—don’t require special consideration from this dimension. However, as workflow complexity grows, so too does the need for coordination.
参考来源
- 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第05章《Evolutionary Architecture Topologies》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch05.html;段落定位:The two common generic patterns for microservices)
- 结论依据:原文对“编排与协同的分工”的定义或案例,支撑“编排由协调者掌握工作流推进与状态,协同则让服务根据事件互动”的归纳。据其上下文,简单单次请求无需复杂协调机制,工作流越复杂越需要显式考虑状态归属与可观察性。
- 原始内容:Coordination refers to how much coordination the workflow modeled by the communication requires. The two common generic patterns for microservices are orchestration and choreography. Simple workflows—a single service replying to a request—don’t require special consideration from this dimension. However, as workflow complexity grows, so too does the need for coordination.