蓝绿色部署在heroku或另一个云平台上作为服务 [英] blue green deployment on heroku or another cloud platform as a service

查看:222
本文介绍了蓝绿色部署在heroku或另一个云平台上作为服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前在Heroku上运行一个Ruby on Rails项目(RefineryCMS),具有两个动作。

We're currently running a Ruby on Rails project (RefineryCMS) on Heroku with two dynos.

每次我们更新网站时,我们都会遇到停机时间约1到2分钟。管理层对此不满意。

Every time we update the site we experience downtime for about 1 to 2 minutes. Management are not happy about this.

我们真正喜欢的是某种(透明)蓝绿色部署: http://martinfowler.com/bliki/BlueGreenDeployment.html

What we'd really like is some sort of (transparent) Blue-Green Deployment: http://martinfowler.com/bliki/BlueGreenDeployment.html

这是否可以在Heroku或另一个云平台作为服务?

Is this possible to achieve on Heroku or another cloud platform as a service?

我们也使用Unicorn,但是如果需要,很乐意进行更改。

We're also using Unicorn, but happy to change if necessary.

推荐答案

看看 Heroku pre-boot 这是一个实验室功能,但听起来就像您所需要的。

Have a look at Heroku pre-boot it's a labs feature but sounds like exactly what you need.

这篇关于蓝绿色部署在heroku或另一个云平台上作为服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆