知识卡片
消息代理按领域拆分换隔离性
事件驱动系统共用单一消息代理,便于统一发现、日志和治理,基础设施也少;但代理故障或吞吐瓶颈会波及全部工作流。原书的领域代理模式让相关服务共享各自的代理,换取故障与容量隔离,代价是主题发现更难、成本和维护点增加。选择时比较领域隔离需求与集中治理收益,没有一方是普适“最佳实践”。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Architectural Patterns · 查看原书依据
Architects must balance discovery with the need to isolate domains as they decide which of these infrastructure patterns make the most sense for their particular systems
参考来源
- 位置:《Fundamentals of Software Architecture》原书第20章《Architectural Patterns》(阅读计划第23项,单元08;源文件:`OEBPS/ch20.html`)
- 结论依据:原书图20-4至20-7及表20-2/20-3比较单代理与领域代理的发现、容错、吞吐和维护取舍;订单放置流程是书中示例。
- 原始内容:Architects must balance discovery with the need to isolate domains as they decide which of these infrastructure patterns make the most sense for their particular systems