知识卡片
按领域组织基础设施
基础设施按网络、服务器、数据库等技术类型拆文件,会让一个负载的修改跨越多个含其他负载资源的文件。按业务领域或工作负载组织,把它的数据库、网络和策略放在一起,可让工作集与责任边界一致;共享资源也按具体平台领域分组,避免变成杂物箱。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 用流水线实现基础设施交付 · 查看原书依据
An alternative is to organize the code by domain or workload: └── src/ ├── customer_service.infra ├── search_service.infra ├── menu_service.infra ├── shared_compute.infra └── shared_network.infra Each of the *_service.infra files in this stack folder contains the database, networking, and policies specific to that workload. The shared_* files
参考来源
- 位置:《Infrastructure As Code》第16章《用流水线实现基础设施交付》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch16.html)
- 结论依据:原文在该段定义概念并解释相关过程或限制,支撑“基础设施按网络、服务器、数据库等技术类型拆文件,会让一个负载的修改跨越多个含其他负载资源的文件”这一核心结论;正文的用途与边界据同小节后续论述整理。
- 原始内容:An alternative is to organize the code by domain or workload: └── src/ ├── customer_service.infra ├── search_service.infra ├── menu_service.infra ├── shared_compute.infra └── shared_network.infra Each of the *_service.infra files in this stack folder contains the database, networking, and policies specific to that workload. The shared_* files