知识卡片

普通读书笔记卡 · 3328.g

跨域组合不能掩盖边界错误

理解等级:高级

BFF、GraphQL 或网关可以缓解跨服务读取的成本,却也可能掩盖按技术层而非业务领域拆分造成的频繁跨域组合。若同类聚合不断出现,应做设计评审,检查服务边界是否需要按领域重组。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第2章《Anti-Patterns: Lack of Isolation》(源文件:`_epub-src/OPS/ch02.xhtml`,归一化正文 [58822:63009)) - 结论依据:原文在比较聚合手段后指出它们可能继续破坏隔离,并建议设计评审、重新审视业务领域和服务分组。 - 原始内容:However, none of these answers may be truly right for your architecture, and could have side effects that break isolation. In that case, perform a Design Review, evaluate your business domains and consider Re-organizing your services by domain.