知识卡片
数据写入器按领域或单元拆分
数据写入器消费数据泵消息并执行数据库更新。可由一个领域写入器统一处理多个泵,集中数据库逻辑;也可让每类处理单元配专属写入器,组件更多,但写入链路能随对应单元独立扩容和变更。粒度选择应跟随写入负载及领域边界,不能只按消息队列数量机械拆分。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Space-Based Architecture Style · 查看原书依据
While this model tends to produce a lot of data-writer components, it does provide better scalability and agility because it aligns the processing unit, data pump, and data writer.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第16章《Space-Based Architecture Style》(阅读计划第19项,单元11;源文件:`OEBPS/ch16.html`)
- 结论依据:原书对比领域写入器与每处理单元专属写入器的组件数量、伸缩和变更代价。
- 原始内容:While this model tends to produce a lot of data-writer components, it does provide better scalability and agility because it aligns the processing unit, data pump, and data writer.