Need advice about which tool to choose?Ask the StackShare community!
delayed_job vs Sidekiq: What are the differences?
What is delayed_job? Database backed asynchronous priority queue -- Extracted from Shopify. Delayed_job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background. It is a direct extraction from Shopify where the job table is responsible for a multitude of core tasks.
What is Sidekiq? Simple, efficient background processing for Ruby. Sidekiq uses threads to handle many jobs at the same time in the same process. It does not require Rails but will integrate tightly with Rails 3/4 to make background processing dead simple.
delayed_job and Sidekiq can be categorized as "Background Processing" tools.
"Easy to get started" is the top reason why over 2 developers like delayed_job, while over 120 developers mention "Simple" as the leading cause for choosing Sidekiq.
delayedjob and Sidekiq are both open source tools. Sidekiq with 9.68K GitHub stars and 1.67K forks on GitHub appears to be more popular than delayedjob with 4.46K GitHub stars and 915 GitHub forks.
According to the StackShare community, Sidekiq has a broader approval, being mentioned in 348 company stacks & 77 developers stacks; compared to delayed_job, which is listed in 8 company stacks and 5 developer stacks.
Pros of delayed_job
- Easy to get started3
- Reliable2
- Doesn't require Redis1
Pros of Sidekiq
- Simple123
- Efficient background processing99
- Scalability60
- Better then resque37
- Great documentation26
- Admin tool15
- Great community14
- Integrates with redis automatically, with zero config8
- Great support7
- Stupidly simple to integrate and run on Rails/Heroku7
- Freeium3
- Ruby3
- Pro version2
- Fast1
- Dashboard w/live polling1
- Great ecosystem of addons1