High Availability with Unicorn Zero Down Time Deploys
December 17th, 2009
If you have not heard of unicorn and you actively develop ruby applications for the web. It is no doubt well worth your time to check it out. Github has a very good write up about unicorn that is definitely worth reading. Let me first show you this quick video of deploying to our yet to be released client site while sieging.
Now some important things to note, in the github write up they had the QUIT signal sent in the before_fork. I am pretty certain that this is incorrect and it should be in the after_fork.
Here is the unicorn configuration I am currently using:
Also, I have a custom spin script:
In the youtube video I use the reload action

Recent Comments