Zero Downtime Deploys with Rails
Last November our very own Matt Duncan gave a talk at RubyConf on how to perform live database changes to a Rails site without downtime.
Every deploy introduces the risk of downtime because of changes which are not backwards compatible. At Yammer, we deploy our Rails codebase to hundreds of servers many times a week. In this talk, I’ll discuss many of the strategies we use to mitigate downtime during deploys. This includes how we handle database changes as well as background workers and external services.
The slides and video are over here: http://mattduncan.org/talks/zero-downtime-deploys/