知识卡片

普通读书笔记卡 · 3327.m

隔离遗留系统要守住数据边界

理解等级:高级

把遗留系统列为隔离区后,新需求只有在数据与契约真正独立时才算止血。新建代码库却继续读写旧共享表或复用重依赖库,只会扩展分布式单体;每个拆分方案都要核对数据边界。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第5章《Assessments》(源文件:`_epub-src/OPS/ch05.xhtml`,归一化正文 [62876:67116)) - 结论依据:原文比较独立实现新认证能力与新服务继续共享旧表的两种结果,强调新代码库不自动带来隔离。 - 原始内容:In both cases, you did not fix the core problem: the lack of database isolation in our distributed monolith. Breaking quarantine just made the distributed monolith bigger, and in the second case now you have binary coupling on top of it all! Writing code in a new service doesn’t solve all your problems if it is not done correctly.