~/talk

Processes and Threads - Resque vs. Sidekiq

Talkat RailsConf 2015 · 2015-04-21..04-23· [ruby-on-rails]
slides:none on file

Resque forks a child per job so one worker process handles one active job, parent stays responsive and uses signals for restart and isolation; memory multiplies with processes but leaks get cleaned on exit. Sidekiq uses threads and Celluloid actors with a manager that spins up many processors, a fetcher that pulls work from Redis, and middleware for logging and exponential retries; MRI’s GIL limits CPU-bound thread gains. Choose Resque for strong job isolation and easier safety, Sidekiq for lower memory per worker and higher throughput.

AI-written summary · about

  1. 0:00Start
  2. 19:21THREADS PROS: SHARED MEMORY CONS: SHARED MEMORY
  3. 21:45ACTORS & CELLULOID
  4. 31:32SIDEKIQ - HOW?
~/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.