~/talk

Inside ActiveJob

Talkat RailsConf 2016 · 2016-05-04..05-06· [ruby-on-rails]
slides:none on file

Explains how ActiveJob serializes jobs, uses a thread-safe map and per-queue thread pools, and builds an async job processor from scratch that calls ActiveJob::Base.execute; shows how scheduled tasks use ScheduledTask with an executor and why most processors persist to Redis while the demo keeps everything in memory for dev/test. Demonstrates runnable code (the core fits on one slide), compares Sucker Punch and Sidekiq, and highlights error, shutdown, and thread-safety tradeoffs so viewers can tell if they need the details.

AI-written summary · about

  1. 0:00Start
  2. 1:04Concurrent Ruby
  3. 2:30What Is Active Job
  4. 4:12Impetus for Active Job
  5. 11:01Queue Adapter in the Job Runner
  6. 13:16Job Metadata
  7. 13:31Queue Name
  8. 17:10Thread Safety
  9. 17:45Consistency
  10. 33:52Resource Contention
~/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.