此卡片不在当前主题的阅读序列中,可返回主题继续阅读。
知识卡片
编排协作各有代价
集中编排在一个文档中规定流程,由引擎调用服务,易验证、监控,却增加中心依赖和耦合。协作式流程由独立服务各做自己的动作涌现,替换与异步处理更灵活,但难观察全局进度。选择应考虑步骤、分支、控制和可观察性;不能仅凭没有中心节点就推定整体可靠。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 用超媒体思考与设计 · 查看原书依据
First, individual services don’t need to know about the big picture; they just need to know how to accomplish their own tasks. Composing workflow results in a more loosely coupled solution, and loosely coupled solutions are usually more resilient and easier to successfully modify over time. That can make it easier to replace parts of the solution over time without disrupting others in the process. This can result in a flexible, resilient workflow environment.
参考来源
- 位置:《RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)》第02章《用超媒体思考与设计》(来源项目 book-sources;源文件:extracted/RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)/_epub-src/OEBPS/ch02.xhtml;小节:超媒体工作流)
- 结论依据:原文以集中编排在一个文档中规定流程,由引擎调用服务,易验证、监控,却增加中心依赖和耦合的机制或场景为依据;同小节余文补充本卡所列条件,按2022年原书语境整理。
- 原始内容:First, individual services don’t need to know about the big picture; they just need to know how to accomplish their own tasks. Composing workflow results in a more loosely coupled solution, and loosely coupled solutions are usually more resilient and easier to successfully modify over time. That can make it easier to replace parts of the solution over time without disrupting others in the process. This can result in a flexible, resilient workflow environment.