知识卡片
函数串联需要持久协调
无状态函数不能靠本次调用内的内存保存长期进度。一个总控函数同步调用其他函数会累积时延和计费等待,后一步失败还可能遗留前面已完成的修改。消息链可记住下一步,但端到端可见性和恢复较弱;托管工作流可显式保存进度并协调函数。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 编排软件、决策与人 · 查看原书依据
While this looks simple, it has severe downsides. First, it only works if all of the functions are available and return fast results. Otherwise, you can easily end up with a customer created in CRM and billing that never gets a SIM card because the last function crashed.
参考来源
- 位置:《Practical Process Automation》第4章《编排软件、决策与人》(来源项目:book-sources;源文件:extracted/Practical Process Automation (Bernd Ruecker)/_epub-src/OEBPS/ch04.xhtml)
- 结论依据:原文中的定义、机制和适用条件支持上述解释,正文未将产品示例推广为所有引擎的保证。
- 原始内容:While this looks simple, it has severe downsides. First, it only works if all of the functions are available and return fast results. Otherwise, you can easily end up with a customer created in CRM and billing that never gets a SIM card because the last function crashed.