知识卡片

普通读书笔记卡 · 3327.s

分布式单体可经网关或合并重构

理解等级:高级

分布式单体可先经网关统一外部契约,再简化内部服务;也可合并仓库与部署单元,恢复可理解的模块边界。选法取决于现有调用关系、代码耦合与迁移代价。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第9章《Code Migrations》(源文件:`_epub-src/OPS/ch09.xhtml`,归一化正文 [38162:42255)) - 结论依据:原文列出 gateway 和 merging 两条路径,并说明各自步骤与收益。 - 原始内容:The merge strategy is where we basically would merge the service and re-construct the monolith by doing the reverse approach, we would have for example 5 GitHub repositories that would be merged into one single repository. We do not require any special technology here; it is just a code migration. Figure 9.26: Strangler Fig - distributed monoliths: gateway vs merging ( Figure 9.26 ) Let us dive deep into each strategy first, the Gateway approach.