← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 2313.e.5.f.10.b.2.a

共享配置扩大变更影响

理解等级:高级

多个模块共用配置、库或数据库模型时,一个模块的修改可能破坏另一个模块。电商例子中,商品团队改动公共配置而损坏下单功能,暴露的是隐含依赖。仅增加协作流程不够,还需限制跨边界访问,并通过明确接口表达约定。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Monoliths and Microservices · 查看原书依据

      Suppose a developer responsible for the Product Catalog component made a change to show product’s customer ratings. While updating this component, they updated a common configuration property file that is shared with the other components in the monolith. One such component is the Ordering uses the same property file and the changes have now broken some functionality in the component. While this should have been

    参考来源

    - 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第02章《Monoliths and Microservices》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch02.xhtml) - 结论依据:原文以服务职责、依赖或运行情境展开本卡主题;本卡保留其作用条件与代价,不把局部优势推广为无条件保证。 - 原始内容:Suppose a developer responsible for the Product Catalog component made a change to show product’s customer ratings. While updating this component, they updated a common configuration property file that is shared with the other components in the monolith. One such component is the Ordering uses the same property file and the changes have now broken some functionality in the component. While this should have been