知识卡片

普通读书笔记卡 · 1903.c.1.f.3.e

托管成本影响资源布局

理解等级:中级

组件布局可避免不必要的副本:多个地区需要容器集群,不意味着共享数据库也要相同倍增。不同托管地区还有价格与碳足迹差异,可在满足业务和数据约束下分别安排资源位置。运行上需要隔离的实例也不必自动变成不同代码组件,能复用定义时应避免分叉。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 基础设施代码设计原则 · 查看原书依据

      Minimizing hosting costs and carbon emissions can drive design decisions about how to organize resources into components. When some parts of the infrastructure need to be replicated, such as with the scaling and distribution design forces described previously, costs can be reduced by arranging resources across components to avoid replicating those that don’t need it.

    参考来源

    - 位置:《Infrastructure As Code》第5章《基础设施代码设计原则》(来源项目 book-sources,源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch05.html) - 结论依据:原文对该概念的定义、应用条件与作用机制直接支持上述解释。 - 原始内容:Minimizing hosting costs and carbon emissions can drive design decisions about how to organize resources into components. When some parts of the infrastructure need to be replicated, such as with the scaling and distribution design forces described previously, costs can be reduced by arranging resources across components to avoid replicating those that don’t need it.