知识卡片
函数拆分仍要定位编排状态
把服务拆成更小的函数不会消除原有业务顺序和状态需求,只会把编排移到 BFF、消息总线、协调函数或外部工作流。设计无服务器方案时应先明确谁持有状态、谁驱动完成,以及失败如何恢复。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Principles of Software Architecture Modernization》第3章《Anti-Patterns: Distributed Monoliths》(源文件:`_epub-src/OPS/ch03.xhtml`,归一化正文 [50434:54697))
- 结论依据:原文指出无服务器函数化并未消除编排,列出上移、下移及协调函数等安置位置,并提出由谁编排的关键问题。
- 原始内容:In these scenarios, the key question becomes: who is orchestrating the execution of these functions?