~/talk

Growing Your Background Job Knowledge

Talkat RailsConf 2022 · 2022-05-17..05-19· [devops-and-delivery]
slides:none on file

Shows a concrete before/after: a controller calling a service that sleeps five seconds and blocks the request, then moves that work to a background queue and calls perform_later so the page returns immediately. Uses Rails Active Job with adapters like Sidekiq, Resque, Delayed Job or the in‑memory async backend. Highlights global serialization via global IDs, locale preservation, callbacks, retry/backoff and rescue_from, and the real pitfall that in‑memory jobs die on Heroku dyno restarts.

AI-written summary · about

  1. 0:00Background jobs basics
  2. 3:11Blocking request problem
  3. 9:32Background jobs and async
  4. 14:02Rails Active Job solution
  5. 21:11Active Job features
  6. 30:23Key takeaways
~/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.