← 返回起始笔记位置

知识卡片

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

不可变服务器的范围

理解等级:中级

不可变服务器以替换作为修改配置和软件的唯一方式:先构建并测试新镜像,再替换使用旧镜像的实例。不可变是一项运行策略,并不表示应用数据、日志或进程不变化。它降低在线配置修改风险,但仍需处理数据生命周期和替换过程。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 以代码构建服务器 · 查看原书依据

      The Immutable Server pattern is a strategy that uses replacement as the only way to make changes to a server.4 The entire server configuration is defined in the image used to create instances. A change is made by building a new version of the image and replacing all the server instances that use it. Immutable

    参考来源

    - 位置:《Infrastructure As Code》第11章《以代码构建服务器》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch11.html) - 结论依据:原文说明不可变服务器以替换作为修改配置和软件的唯一方式:先构建并测试新镜像,再替换使用旧镜像的实例;本卡据此解释其用途及适用边界。 - 原始内容:The Immutable Server pattern is a strategy that uses replacement as the only way to make changes to a server.4 The entire server configuration is defined in the image used to create instances. A change is made by building a new version of the image and replacing all the server instances that use it. Immutable