知识卡片
处理网格协调跨单元请求
处理网格是虚拟中间件中的可选编排能力。单个业务请求若要经过多个处理单元,例如下单、付款、库存调整,就需要协调调用顺序和结果;原书也允许用面向单个主要流程的细粒度编排单元实现,而非设一个全局编排引擎。这里是原书电商教学例,尚未给出跨单元付款失败时完整的一致性协议。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Space-Based Architecture Style · 查看原书依据
If a request requires coordination between more than one type of processing unit (such as an order-processing unit and a payment-processing unit), the processing grid mediates and orchestrates the request between those two processing units.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第16章《Space-Based Architecture Style》(阅读计划第19项,单元08;源文件:`OEBPS/ch16.html`)
- 结论依据:原书定义处理网格为跨多个处理单元请求提供编排,并以订单流程举例。
- 原始内容:If a request requires coordination between more than one type of processing unit (such as an order-processing unit and a payment-processing unit), the processing grid mediates and orchestrates the request between those two processing units.