知识卡片
蓝绿切换要处理在途工作
蓝绿部署创建新实例,验证后切换工作负载,再删除旧实例。需要负载均衡等切换机制,成熟实现会把新工作送新实例并等待旧实例在途工作排空。可在服务器、栈甚至数据中心层级采用;范围越大越难协调,数据与格式兼容仍需单独处理。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 变更既有基础设施 · 查看原书依据
Blue-green changes require a mechanism to handle the switchover of a workload from one instance to another, such as a load balancer for network traffic. Sophisticated implementations allow the workload to “drain,” allocating new work to the new instance, and waiting for all work on
参考来源
- 位置:《Infrastructure As Code》第20章《变更既有基础设施》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch20.html)
- 结论依据:原文在该段定义概念并解释相关过程或限制,支撑“蓝绿部署创建新实例,验证后切换工作负载,再删除旧实例”这一核心结论;正文的用途与边界据同小节后续论述整理。
- 原始内容:Blue-green changes require a mechanism to handle the switchover of a workload from one instance to another, such as a load balancer for network traffic. Sophisticated implementations allow the workload to “drain,” allocating new work to the new instance, and waiting for all work on