4 ms·
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
by freedrull 15y ago
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.
- daeltar 15y agogithub uses unicorn behind nginx.
- kyleslattery 15y agoAs far as I know, they're using Unicorn: https://github.com/blog/517-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.
- Pewpewarrows 15y agoI 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).