Re:GitHub Flow
by freedrull on Wednesday August 31, 2011 @01:29PM
(#2946569)
Is it really zero-downtime deployment? I've read about Passenger 3's zero-downtime deployment strategy, but on my Passenger 3 setup, the server is still always a little unresponsive for a few seconds after a restart.
[ Parent
| on HN ]
Re:GitHub Flow
by kyleslattery on Wednesday August 31, 2011 @01:35PM
(#2946590)
As far as I know, they're using Unicorn: https://github.com/blog/517-unicorn
They spin up new instances of the app and let the old instances finish serving requests before killing them.
Re:GitHub Flow
by Pewpewarrows on Wednesday August 31, 2011 @01:37PM
(#2946605)
I don't know how it works in the Rails deployment world, but for us Python/Django folks all we have to do is touch a wsgi file and/or do a soft reload of the web server for changes to be picked up, and they do so instantly. No downtime. Until then, even if files are replaced, the old site gets served (although I would recommend symlinking instead of flat-out replacing files and directories).