RailsConf 2023 - Zero downtime Rails upgrades by Ali Ibrahim

Learn how to perform zero downtime Rails upgrades with confidence. Discover strategies for breaking down upgrades, dual booting, backporting, logging, monitoring, and communicating with your team.

Key takeaways
  • Break down the upgrade into smaller, manageable pieces. This will make it easier to track progress, identify and fix issues, and reduce the risk of introducing new bugs.
  • Use dual booting to test the new version of Rails without affecting the production environment. This will allow you to identify and fix any issues before deploying the new version to production.
  • Use backports to apply new features and bug fixes from newer versions of Rails to your current version. This will allow you to take advantage of new features and improvements without having to upgrade to a new major version of Rails.
  • Use logging and monitoring to track the progress of your upgrade and identify any issues that may arise. This will help you to quickly identify and fix any problems that may occur during the upgrade process.
  • Communicate with your team throughout the upgrade process. This will help to ensure that everyone is on the same page and that there are no surprises.
  • Be patient and persistent. Upgrading Rails can be a complex and time-consuming process. It is important to be patient and persistent throughout the process and to not give up if you encounter any challenges.