Skip to content

Instantly share code, notes, and snippets.

View algarecu's full-sized avatar
😎
Happy Hacking

Al algarecu

😎
Happy Hacking
View GitHub Profile
@algarecu
algarecu / keybase.md
Created May 30, 2017 14:37
Keybase proofs github.com/algarecu

Keybase proof

I hereby claim:

  • I am algarecu on github.
  • I am algarecu (https://keybase.io/algarecu) on keybase.
  • I have a public key whose fingerprint is 3829 8ABE 864A 4330 F05D 5242 7186 EC51 B1D2 D9ED

To claim this, I am signing this object:

Zero downtime deploys with unicorn + nginx + runit + rvm + chef

Below are the actual files we use in one of our latest production applications at Agora Games to achieve zero downtime deploys with unicorn. You've probably already read the GitHub blog post on Unicorn and would like to try zero downtime deploys for your application. I hope these files and notes help. I am happy to update these files or these notes if there are comments/questions. YMMV (of course).

Other application notes:

  • Our application uses MongoDB, so we don't have database migrations to worry about as with MySQL or postgresql. That does not mean that we won't have to worry about issues with the database with indexes being built in MongoDB or what have you.
  • We use capistrano for deployment.

Salient points for each file: