蓝绿色部署与滚动部署

蓝绿色部署与滚动部署

本文介绍了蓝绿色部署与滚动部署?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

蓝色/绿色部署和滚动部署之间有什么区别?我一直以为蓝/绿部署是流量突然从旧版本突然切换到新版本.

What's the difference between a blue/green deployment and a rolling deployment? I always thought that a blue/green deployment was a sudden switch of traffic from the old version to the new version immediately.

关于在AWS上进行蓝/绿部署的讨论显示了实施AWS的各种不同策略蓝色/绿色部署,但它们似乎也符合滚动部署的定义.

This talk about Blue/Green deployment on AWS shows various different strategies to implement a blue/green deployment, but they also seem to match the definition of a rolling deployment.

蓝色/绿色部署是滚动部署的子集吗?

Is a blue/green deployment a subset of rolling deployments?

推荐答案

我在此处撰写了有关此主题的文章: http://blog.itaysk.com/2017/11/20/deployment-strategies-defined

I have written an essay on this topic here: http://blog.itaysk.com/2017/11/20/deployment-strategies-defined

在我看来,区别在于是通过替换现有设置中的实例来应用新版本(在滚动升级的情况下),还是为新版本创建完全隔离的设置(在蓝色/绿色的情况下) ).在我看来,蓝/绿是最安全的策略,并且在大多数情况下对于生产部署来说是更好的策略.阅读文章以进行详细比较.

In my opinion the difference is whether the new version is applied by replacing instances in the existing setup (in the case of rolling upgrade), or a completely isolated setup is created for the new version (in the case of Blue/Green). In my opinion Blue/Green is the safest strategy and is better in most cases for production deployments. Read the post for a detailed comparison.

这篇关于蓝绿色部署与滚动部署?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 22:07