~/talk

Zero downtime Rails upgrades

Talkat RailsConf 2023 · 2023-04-24..04-26· [ruby-on-rails, devops-and-delivery]
slides:none on file

Claim: upgrades happen with zero downtime by making them incremental, measurable, and repeatable. Steps: target the next minor version, fix deprecations per file and fail tests on regressions, add dual‑booting so main runs old and new Rails, backport new APIs (strong_parameters example) to let teams adopt patterns early, group and fix test failures in chunks, and run small production experiments—canaries at 5–40% traffic—until errors drop. This is implemented at GitHub and other organizations and it works.

AI-written summary · about

  1. 0:00Rails upgrades introduction
  2. 2:50Why upgrades feel hard
  3. 5:40Treat upgrades like features
  4. 8:49Smaller versions
  5. 13:23Fix deprecation warnings
  6. 16:54Avoid long branches
  7. 19:46Backport new Rails features
  8. 23:59Group test failures
  9. 26:49Test in production-like envs
  10. 30:25Repeatable upgrade process
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.