知识卡片

普通读书笔记卡 · 3327.i

旧系统共享库须设退出边界

理解等级:高级

旧系统无法提供合适接口,或第三方系统不受控时,共享数据库可作为受限集成手段;它仍脆弱,容易把过渡方案固化为隐性契约。采用时应明确访问范围、变更控制与预计退役路径,而非当作服务间默认通信方式。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第2章《Anti-Patterns: Lack of Isolation》(源文件:`_epub-src/OPS/ch02.xhtml`,归一化正文 [37799:41963)) - 结论依据:原文给出旧技术、近期退役和第三方不可控等例外,且要求共享数据库集成必须罕见并受严格控制。 - 原始内容:Legacy system integrations Another use case where sharing databases is around legacy systems, and where the most practical way to make two systems interact is to share data via a shared database. ( Figure 2.16 ) This integration pattern is fragile, and will create a lot of headaches. Still, there are good reasons to use it (with caution): One or both of the systems use legacy technologies that your team does not know.