Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staggered Deploys #82

Open
tzmanics opened this issue Jan 25, 2016 · 8 comments
Open

Staggered Deploys #82

tzmanics opened this issue Jan 25, 2016 · 8 comments

Comments

@tzmanics
Copy link
Contributor

Add the ability to stagger deploys. Deploy 1/2 the servos, wait some period of time, then deploy the other half. This is intended to provide a quick solution for zero downtime deploys.

I discussed briefly with Jack and the medusa implementation should be pretty straight forward. When it queue's up the deploys (in Kue), it can queue half of them with a delayed start.

Possible UX could be:

$ modulus deploy --staggered=30

30 is the number of seconds to wait. If no time is specified default to 5 seconds.

@theworkflow
Copy link
Contributor

If the servos are expendable, would it be better to just deploy the code into a new servo then destroy the old one once the deploy is completed?

@jackboberg
Copy link
Contributor

I think most of this discussion should be on internal tools. The only bit that needs to be addressed on this repo is adding support for the flags if/when the feature lands.

@cryptoquick
Copy link

If we're deployed on Modulus for production, we shouldn't bring down our entire API for minutes every time we re-deploy. This is a critical feature.

@tzmanics
Copy link
Contributor Author

Hi @cryptoquick we definitely agree and have zero-downtime deployment on our roadmap to be tackled soon. Thanks for reaching out!

@cryptoquick
Copy link

cryptoquick commented Apr 19, 2016

That's appreciated, thanks... We just went into production this morning, so... I'm really not sure if I'm comfortable having API downtime on each deployment, especially when working with CI.

@troxler
Copy link

troxler commented Aug 8, 2016

@tzmanics Any news on this or maybe an ETA?
I don't like it that my app's users see an error message every time I deploy.

@tzmanics
Copy link
Contributor Author

tzmanics commented Aug 9, 2016

Hi @troxler, we have zero-downtime deployment on schedule for release this quarter. We'll keep you updated to when the release happens.

@troxler
Copy link

troxler commented Aug 9, 2016

@tzmanics Great! Thanks for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants