← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2486.c.2.a.1

资源放在最具体层

理解等级:中级

参考结构可分为工作负载专用、共享、环境、全局能力。资源应放在最具体的适用层:某服务的负载均衡规则属于该服务,而不是整个环境。底层提供者不应知道上层消费者细节;否则环境变更会追随单个应用,并可能形成循环依赖。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 基础设施组件 · 查看原书依据

      Implement infrastructure at the most specific relevant level Ideally, components at lower levels of infrastructure, such as an environment, should be minimal, including only resources that are actually used by all the higher levels of infrastructure and workloads it supports. For example, load-balancing rules for a specific workload should be defined in the dedicated infrastructure

    参考来源

    - 位置:《Infrastructure As Code》第6章《基础设施组件》(来源项目 book-sources,源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch06.html) - 结论依据:原文对该概念的定义、应用条件与作用机制直接支持上述解释。 - 原始内容:Implement infrastructure at the most specific relevant level Ideally, components at lower levels of infrastructure, such as an environment, should be minimal, including only resources that are actually used by all the higher levels of infrastructure and workloads it supports. For example, load-balancing rules for a specific workload should be defined in the dedicated infrastructure