- Using resque processing library, which drained server resources quickly - Needed to optimize! -> why not do some benchmarks! (github.com/matixmatix/ background-showdown-rails)
new worker process is needed -> big memory resource consumption) - Simple to configure with ActiveRecord - Stores jobs in a database -> bad performance, scalability issues Delayed Job
lock, so there is no true parallelism - Lightweight, Redis - Workers must be thread safe (some gems might be troublesome (Paperclip, Imagemagick,...)) Sidekiq
draining less resources, not a lot of processing power needed) 2. For CPU heavy jobs (hard computations), DJ and Resque should win (because they can utilize all CPU cores) Hypothesis
native threads - JVM - Eliminates Ruby MRI’s great weakness: GIL (Global Interpreter Lock) - where threads only run one at a time, and MRI switches between threads, giving them a small window of processing time JRuby
wins for everything else (on MRI) 2. After switching to JRuby, Sidekiq begins to outperform other libraries in general for every type of job, uses less memory Verdict?