知识卡片
领域数据库隔离仍受跨域调用
领域数据库把相关事件处理器与数据归入同一领域,故障、扩容和表结构变更主要局限在本领域;事件通道可暂存下游待处理事件。原书订单例中,下单处理器可从本领域查库存,却要同步向配送处理器询问配送选项。跨域取数越频繁,异步架构的故障隔离和扩容收益越易被同步依赖抵消;此时要重审领域边界或数据拓扑。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event-Driven Architecture Style · 查看原书依据
it must make a synchronous call to the Order Shipping event processor to retrieve the shipping options, thus synchronously coupling these services
参考来源
- 位置:《Fundamentals of Software Architecture》原书第15章《Event-Driven Architecture Style》(阅读计划第18项,单元17;源文件:`OEBPS/ch15.html`)
- 结论依据:原书定义领域数据库并以库存本域读取、配送选项跨域同步调用说明代价。
- 原始内容:it must make a synchronous call to the Order Shipping event processor to retrieve the shipping options, thus synchronously coupling these services