← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1333.b.4

不可变实例靠替换更新

理解等级:高级

不可变基础设施通过新构建创建全新实例,验证后切流,最后销毁旧实例,而非原地修改。短期内保留旧实例使回退简单,但自动化滞后仍可能累积,所以应经常重建验证代码与现实一致。不可变部署能隔离实例变化,却不会自动解决持久数据迁移。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 变更既有基础设施 · 查看原书依据

      This technique makes a change to an instance, usually a server or a infrastructure deployment stack, by building a new instance and destroying the old instance. Rather than applying a new version of code to update the existing set of resources, the new code build

    参考来源

    - 位置:《Infrastructure As Code》第20章《变更既有基础设施》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch20.html) - 结论依据:原文在该段定义概念并解释相关过程或限制,支撑“不可变基础设施通过新构建创建全新实例,验证后切流,最后销毁旧实例,而非原地修改”这一核心结论;正文的用途与边界据同小节后续论述整理。 - 原始内容:This technique makes a change to an instance, usually a server or a infrastructure deployment stack, by building a new instance and destroying the old instance. Rather than applying a new version of code to update the existing set of resources, the new code build