Sidekiq VS Delayed::Job

Compare Sidekiq vs Delayed::Job and see what are their differences.

Sidekiq

Simple, efficient background processing for Ruby (by sidekiq)

Delayed::Job

Database based asynchronous priority queue system -- Extracted from Shopify (by collectiveidea)
Scout Monitoring - Rennaisance engineers rejoice! 1 gem 5 min to app monitoring
5-minute onboarding. No sales team. Devs in the support channels. No DevOps team required. Get the free app insights every engineer deserves with Scout Monitoring.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
Sidekiq Delayed::Job
93 12
13,004 4,805
0.5% 0.1%
9.0 1.6
2 days ago about 2 months ago
Ruby Ruby
GNU Lesser General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Sidekiq

Posts with mentions or reviews of Sidekiq. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-06-04.
  • How to Setup a Project That Can Host Up to 1000 Users for Free
    12 projects | dev.to | 4 Jun 2024
    Rollbar is a great error-tracking service. It alerts us on exceptions and errors, provides analysis tools and dashboard, so we can see, reproduce, and fix bugs quickly when something went wrong. This service has a possibility to log not only uncaught exceptions but any messages. By default, the messages are reported synchronously, but you can enable asynchronous reporting using Sidekiq, girl_friday, or Resque. Also, you can provide your own handler and a failover handler to be confident, that your error is tracked and delivered in the case of primary handler’s fail.
  • Hanami and HTMX - progress bar
    5 projects | dev.to | 7 May 2024
    Hi there! I want to show off a little feature I made using hanami, htmx and a little bit of redis + sidekiq.
  • solid_queue alternatives - Sidekiq and good_job
    3 projects | 21 Apr 2024
    I'd say Sidekiq is the top competitor here.
  • Valkey Is Rapidly Overtaking Redis
    4 projects | news.ycombinator.com | 19 Apr 2024
    There's something wrong at Redislabs, it took them over a year to get RESP3 rolled out into their hosted service, you'd expect a rollout of that to be a bit quicker when they're the owner of Redis.

    It affected us when upgrading Sidekiq to version 7, which dropped support for older Redis, and their Envoy proxy setup didn't support HELLO and RESP3: https://github.com/sidekiq/sidekiq/issues/5594

  • Redis Re-Implemented with SQLite
    15 projects | news.ycombinator.com | 14 Apr 2024
    That depends on how the `maxmemory-policy` is configured, and queue systems based on Redis will tell you not to allow eviction. https://github.com/sidekiq/sidekiq/wiki/Using-Redis#memory (it even logs a warnings if it detects your Redis is misconfigured IIRC).
  • 3 one-person million dollar online businesses
    2 projects | /r/Business_Ideas | 4 Dec 2023
    Sidekiq https://sidekiq.org/: This one started as an open source project, once it got enough traction, the developer made a premium version of it, and makes money by selling licenses to businesses.
  • Choose Postgres Queue Technology
    17 projects | news.ycombinator.com | 24 Sep 2023
    Sidekiq will drop in-progress jobs when a worker crashes. Sidekiq Pro can recover those jobs but with a large delay. Sidekiq is excellent overall but it’s not suitable for processing critical jobs with a low latency guarantee.

    https://github.com/sidekiq/sidekiq/wiki/Reliability

  • We built the fastest CI in the world. It failed
    11 projects | news.ycombinator.com | 12 Sep 2023
    > I'm not sure feature withholding has traditionally worked out well in the developer space.

    I think it's worked out well for Sidekiq (https://sidekiq.org). I really like their model of layering valuable features between the OSS / Pro / Enterprise licenses.

  • Exploring concurrent rate limiters, mutexes, semaphores
    2 projects | dev.to | 11 Sep 2023
    I was studying Sidekiq's page on rate limiters. The first type of rate limiting mentioned is the concurrent limiter: only n tasks are allowed to run at any point in time. Note that this is independent of time units (e.g. per second), or how long they take to run. The only limitation is the number of concurrent tasks/requests.
  • Ask HN: What are some of the most elegant codebases in your favorite language?
    37 projects | news.ycombinator.com | 17 Jun 2023

Delayed::Job

Posts with mentions or reviews of Delayed::Job. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-06-07.
  • It’s Time For Active Job
    5 projects | dev.to | 7 Jun 2024
    It is hard to imagine any big and complex Rails project without background jobs processing. There are many gems for this task: **Delayed Job, Sidekiq, Resque, SuckerPunch** and more. And Active Job has arrived here to rule them all.
  • DelayedJob and PG Error No Connection to Server
    3 projects | dev.to | 7 Jun 2024
    Obviously, that is not what I’ve expected from Delayed::Job workers. So I took the shovel and started digging into git history. Since the last release the only significant modification has been made in the internationalization. We’ve moved to I18n-active_record backend to grant the privilege to modify translations not only to developers but also to highly-educated mere mortals.
  • How to narrow down race condition in delayed job/mysql2?
    1 project | /r/rails | 31 Jan 2023
    I included this in the github issue but we had coverband induced log spam, it got fixed and suddenly we hit the bug. I did find this from someone with a similar issue but there was no conclusion.
  • How to run a really long task from a Rails web request
    3 projects | dev.to | 18 Apr 2022
    So how do we trigger such a long-running process from a Rails request? The first option that comes to mind is a background job run by some of the queuing back-ends such as Sidekiq, Resque or DelayedJob, possibly governed by ActiveJob. While this would surely work, the problem with all these solutions is that they usually have a limited number of workers available on the server and we didn’t want to potentially block other important background tasks for so long.
  • Delayed Job vs. Sidekiq: Which Is Better?
    5 projects | dev.to | 8 Mar 2022
    Several gems support job queues and background processing in the Rails world — Delayed Job and Sidekiq being the two most popular ones.
    13 projects | news.ycombinator.com | 16 Feb 2022
    Rails 7 support only just got added https://github.com/collectiveidea/delayed_job/pull/1161
  • Why does rails have a tradition of queuing background jobs in a separate NoSQL store, when both the queueing controller and the job class tend to hammer the main database anyway?
    3 projects | /r/rails | 28 Dec 2021
    Back in the day, before Sidekiq and such, we used Delayed Job https://github.com/collectiveidea/delayed_job
  • A quick look at background jobs in Ruby
    1 project | dev.to | 11 Mar 2021
    There are a few of popular systems. A few need a database, such as Delayed::Job, while others prefer Redis, such as Resque and Sidekiq.
  • Schedule background jobs in Rails with Integromat
    2 projects | /r/rails | 14 Feb 2021
    I always wad a fan of Sidekiq, but recently I wanted to remove redis as a dependency. I ended up going back to classic delayed_job. My reason for that was I also didn't want dependency with Postgres, as I like to use sqlite on development and Postgres on production. The best solution I've seen is Que, which works with Postgres. It is complete, has all the features you need.
  • Background Job Processing in Ruby without external libraries and dependencies
    1 project | dev.to | 1 Jan 2021
    Ruby gets hammered a lot for its green threads and no real concurrency yet Ruby libraries such as Resque, Delayed Job and Sidekiq are some of the most popular choices to run background jobs in the industry. When you have a huge project and millions of requests and hundreds of thousands of operations to perform, reach out to one of these solutions which are feature complete and you don’t have to reinvent the wheel as its complex piece of software to implement and requires thousands of human hours. While they help you scale sometimes they are not what you are looking for or need as they are meant for a scale of 10000s of jobs per second and what you need is a background processing for few jobs that can be handled in memory without a dependency of a queue such as Redis. If you look at the benchmark numbers from Sidekiq they are for 100K jobs because that is the scale it is meant to be though one can use it for running a few hundred complex jobs as well where you require queue management and supervision.

What are some alternatives?

When comparing Sidekiq and Delayed::Job you can also consider the following projects:

Resque - Resque is a Redis-backed Ruby library for creating background jobs, placing them on multiple queues, and processing them later.

Sucker Punch - Sucker Punch is a Ruby asynchronous processing library using concurrent-ruby, heavily influenced by Sidekiq and girl_friday.

Sneakers - A fast background processing framework for Ruby and RabbitMQ

good_job - Multithreaded, Postgres-based, Active Job backend for Ruby on Rails.

Shoryuken - A super efficient Amazon SQS thread based message processor for Ruby

Que - A Ruby job queue that uses PostgreSQL's advisory locks for speed and reliability.

Apache Kafka - Mirror of Apache Kafka

celery - Distributed Task Queue (development branch)

Karafka - Ruby and Rails efficient multithreaded Kafka processing framework

Scout Monitoring - Rennaisance engineers rejoice! 1 gem 5 min to app monitoring
5-minute onboarding. No sales team. Devs in the support channels. No DevOps team required. Get the free app insights every engineer deserves with Scout Monitoring.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured