知识卡片
中介控制换取性能成本
中介代理能保存工作流状态并集中处理错误、恢复与重启,代价是处理器耦合更强,代理本身可能成为吞吐瓶颈,性能和扩展性通常不及广播协作拓扑。复杂且动态的异常分支还可能迫使两种拓扑混用。选型时应把“必须控制哪些阶段和恢复点”与预期流量一起评估,不能只按是否使用消息队列判断架构优劣。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event-Driven Architecture Style · 查看原书依据
The trade-off between the choreographed and mediator topologies essentially comes down to weighing workflow control and error handling capability against high performance and scalability.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第15章《Event-Driven Architecture Style》(阅读计划第18项,单元14;源文件:`OEBPS/ch15.html`)
- 结论依据:原书对比中介代理的状态与错误处理能力,以及耦合、瓶颈、性能和混合模式。
- 原始内容:The trade-off between the choreographed and mediator topologies essentially comes down to weighing workflow control and error handling capability against high performance and scalability.