知识卡片
稳定契约支持松耦合
松耦合意味着组件变更通常不迫使其他组件同时变更。浏览器可以在服务器升级后继续工作,依赖的是双方遵守稳定协议与契约。微服务数量增加不会自动产生这种独立性;若接口与版本实践不好,系统可能同时承受单体耦合和分布式管理成本。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- What Is a “Cloud Native” Application? · 查看原书依据
Loose coupling is a system property and design strategy in which a system’s components have minimal knowledge of any other components. Two systems can be said to be loosely coupled when changes to one component generally don’t require changes to the other. For example, web servers and web browsers can be considered to be loosely
参考来源
- 位置:《Cloud Native Go》第01章《What Is a “Cloud Native” Application?》(来源项目book-sources;源文件:extracted/Cloud Native Go (Matthew A. Titmus)/_epub-src/OEBPS/ch01.xhtml)
- 结论依据:松耦合意味着组件变更通常不迫使其他组件同时变更。原文相应定义、示例或限制为此结论提供依据;补充纠错与版本边界在正文就近标明。
- 原始内容:Loose coupling is a system property and design strategy in which a system’s components have minimal knowledge of any other components. Two systems can be said to be loosely coupled when changes to one component generally don’t require changes to the other. For example, web servers and web browsers can be considered to be loosely