知识卡片

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

代码与配置的工作划分

理解等级:中级

一种实用划分是:代码定义组件各实例共同的部分,配置提供特定实例的取值,例如共同服务器软件栈与不同环境的内存大小。现实命名并不严格;无论文件叫代码还是配置,只要复杂到影响系统行为,就应接受审查、测试和技术债管理。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 基础设施工具与语言 · 查看原书依据

      What is the difference between “as code” and configuration? A working definition for this book is that code specifies those aspects of a component that are consistent across multiple deployed instances of the component. Configuration specifies those aspects that are specific to a particular deployed instance of a component. For example, the FoodSpin team uses

    参考来源

    - 位置:《Infrastructure As Code》第4章《基础设施工具与语言》(来源项目 book-sources,源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch04.html) - 结论依据:原文对该概念的定义、应用条件与作用机制直接支持上述解释。 - 原始内容:What is the difference between “as code” and configuration? A working definition for this book is that code specifies those aspects of a component that are consistent across multiple deployed instances of the component. Configuration specifies those aspects that are specific to a particular deployed instance of a component. For example, the FoodSpin team uses