首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >蓝色/绿色中出现蓝色和绿色的原因-部署

蓝色/绿色中出现蓝色和绿色的原因-部署
EN

Stack Overflow用户
提问于 2020-02-26 19:24:50
回答 1查看 108关注 0票数 0

这不是一个技术问题,但我真的很想知道,但我在任何地方都找不到答案。有没有人能告诉我为什么选择蓝色和绿色作为“蓝色/绿色部署”的概念。这个问题卡在我的脑海里,因此我再也睡不着觉了。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-03-25 00:46:55

我自己也找遍了。看起来颜色并不重要,see

代码语言:javascript
复制
Blue-green, black-red, fuchsia-periwinkle, it really doesn’t matter what colors are used. The point is that there are two separate but equal environments.

马丁·福勒在this的文章中认为蓝色是live &绿色的候选人。

代码语言:javascript
复制
At any time one of them, let's say blue for the example, is live. As you prepare a new release of your software you do your final stage of testing in the green environment. Once the software is working in the green environment, you switch the router so that all incoming requests go to the green environment - the blue one is now idle.

This文章认为绿色是活的,蓝色是候选者。

代码语言:javascript
复制
You start with the green version in production.
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60412841

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档