知识卡片
企业服务难同时适配复用与事务
编排式 SOA 希望把细粒度企业服务做成可重组的业务积木,再由总线拼成粗粒度流程。但同一实体会参与多个流程,服务切得越细,编排调用及跨服务事务边界越难稳定;切得太粗,又削弱复用。原书认为找到“恰好可复用且易协调”的统一粒度很困难,市场与技术变化还会使先前抽象失效。因此服务粒度与事务边界必须按具体流程权衡,不能靠一次分类永久固定。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Orchestration-Driven Service-Oriented Architecture · 查看原书依据
Developers must figure out where the appropriate transaction boundaries between services lie as entities become involved in numerous workflows.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第17章《Orchestration-Driven Service-Oriented Architecture》(阅读计划第20项,单元04;源文件:`OEBPS/ch17.html`)
- 结论依据:原书讨论细粒度企业服务的理想复用目标、业务变化及编排事务边界困难,未给出可通用复用粒度。
- 原始内容:Developers must figure out where the appropriate transaction boundaries between services lie as entities become involved in numerous workflows.