知识卡片
编排器使工作流状态可查询
复杂跨服务流程若由编排器拥有状态,就有一个位置记录进行到哪一步、判断边界条件,并在参与服务短暂故障后安排重试;其他流程也能查询该状态。编舞没有单一状态所有者,通常要把这些知识分散给参与服务。集中状态带来可恢复性,也让编排器成为潜在吞吐瓶颈和工作流故障点,需按实际流程权衡。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Architectural Patterns · 查看原书依据
Having an orchestrator makes the state of the workflow queryable, providing a place for other workflows and other transient states.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第20章《Architectural Patterns》(阅读计划第23项,单元05;源文件:`OEBPS/ch20.html`)
- 结论依据:原书图20-2与正文列出编排器的状态归属、查询、重试收益及瓶颈/故障点代价;[[编舞与编排按协作复杂度选择]]已记录总体比较,本卡聚焦状态归属。
- 原始内容:Having an orchestrator makes the state of the workflow queryable, providing a place for other workflows and other transient states.