~/talk

Mastering hot upgrades

Talkat Code BEAM Lite Stockholm 2024 · on Monday, 2024-05-13· [elixir-and-erlang]
links:none on file
slides:none on file

Klarna’s cred team runs hot upgrades in production for over 20 years using custom upgrade scripts rather than OTP appups; the concrete rules are: keep exported functions for one more release (never remove or change arity used by old code), convert old-format records inside new functions, and split big changes across releases or preload modules carefully. The upgrade pipeline is pre-upgrade (create ETS, start new apps, stop non‑critical workers), upgrade (load modified BEAMs), post‑upgrade (restart services, purge old modules only after no process uses them). Always test upgrades under load and make steps idempotent.

AI-written summary · about

  1. 0:00Introduction
  2. 2:01How hot upgrades work
  3. 12:58Building a robust process
  4. 20:27When to use hot upgrades
  5. 24:32Questions
~/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.