Software Alternatives & Reviews

delayed_job VS Hangfire

Compare delayed_job VS Hangfire and see what are their differences

delayed_job logo delayed_job

Database based asynchronous priority queue system -- Extracted from Shopify - collectiveidea/delayed_job

Hangfire logo Hangfire

An easy way to perform background processing in .NET and .NET Core applications.
  • delayed_job Landing page
    Landing page //
    2022-11-02
  • Hangfire Landing page
    Landing page //
    2023-10-04

delayed_job videos

No delayed_job videos yet. You could help us improve this page by suggesting one.

+ Add video

Hangfire videos

AK 47 Wasr Hangfire - shooter beware

Category Popularity

0-100% (relative to delayed_job and Hangfire)
Data Integration
34 34%
66% 66
Stream Processing
36 36%
64% 64
Web Service Automation
0 0%
100% 100
Ruby On Rails
100 100%
0% 0

User comments

Share your experience with using delayed_job and Hangfire. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Hangfire might be a bit more popular than delayed_job. We know about 5 links to it since March 2021 and only 4 links to delayed_job. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

delayed_job mentions (4)

  • How to run a really long task from a Rails web request
    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... - Source: dev.to / about 2 years ago
  • Delayed Job vs. Sidekiq: Which Is Better?
    Several gems support job queues and background processing in the Rails world — Delayed Job and Sidekiq being the two most popular ones. - Source: dev.to / about 2 years ago
  • 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?
    Back in the day, before Sidekiq and such, we used Delayed Job https://github.com/collectiveidea/delayed_job. Source: over 2 years ago
  • A quick look at background jobs in Ruby
    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. - Source: dev.to / about 3 years ago

Hangfire mentions (5)

  • Do I need message queues for sending emails/texts via services like SendGrid, AWS SES, Twilio etc.? How do you decide if you need message queues or not? What questions do you ask yourself?
    Hangfire (https://hangfire.io) includes default exception handling and is very extensible, I think it's a good mid-level choice and a good alternative to other queue mechanism, if you can't afford to host a separated queue service or can't manage a separated service; also scales pretty well (you can have multiple servers handling the same background job queue, or different queues). It runs on Sql Server and MySql... Source: almost 2 years ago
  • jsonb in postgres and should I use it or not?
    I used to just use hangfire.io in .net and worked wonderfully for any long running tasks or schedules. Had a great queuing system, UI to know if they failed , etc. That's how I'd send emails, pdf's, and other things along that nature. Then if it were more just a db related operation, just setup a schedule in mssql job service. Source: almost 2 years ago
  • How can In make a function run at a certain date in the future?
    You can use hangfire for cronjob, to run at a time in future, you can use Hangfire.Schedule(jobid, datetime). Source: almost 2 years ago
  • How to handle processing of an entity through different states?
    So another option is to use something like https://hangfire.io to pull the jobs and process them? Source: about 2 years ago
  • How to update database in a Parallel.For loop?
    I've got a fairly large process I need to handle in background on my .net core web app so I've exported it to a background task using Hangfire. Source: almost 3 years ago

What are some alternatives?

When comparing delayed_job and Hangfire, you can also consider the following products

Sidekiq - Sidekiq is a simple, efficient framework for background job processing in Ruby

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

Enqueue It - Easy and scalable solution for manage and execute background tasks seamlessly in .NET applications. It allows you to schedule, queue, and process your jobs and microservices efficiently.

RabbitMQ - RabbitMQ is an open source message broker software.

Apache Kafka - Apache Kafka is an open-source message broker project developed by the Apache Software Foundation written in Scala.

Bull - Bull is a Node library that implements a fast and robust queue system based on redis.