Software Alternatives & Reviews

Sidekiq VS Hangfire

Compare Sidekiq VS Hangfire and see what are their differences

Sidekiq logo Sidekiq

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

Hangfire logo Hangfire

An easy way to perform background processing in .NET and .NET Core applications.
  • Sidekiq Landing page
    Landing page //
    2023-04-28
  • Hangfire Landing page
    Landing page //
    2023-10-04

Sidekiq

Categories
  • Ruby On Rails
  • Ruby
  • Background Processing
  • Queueing, Messaging And Background Processing
Website sidekiq.org
Pricing URL Official Sidekiq Pricing
Details $

Hangfire

Categories
  • Data Integration
  • Stream Processing
  • Web Service Automation
  • Ruby On Rails
Website hangfire.io
Pricing URL Official Hangfire Pricing
Details $

Sidekiq videos

Sidekiq Review: Influencer Marketing Software (Platform)

More videos:

  • Review - Mike Perham, Creator of Sidekiq
  • Review - RailsConf 2015 - Processes and Threads - Resque vs. Sidekiq

Hangfire videos

AK 47 Wasr Hangfire - shooter beware

Category Popularity

0-100% (relative to Sidekiq and Hangfire)
Ruby On Rails
100 100%
0% 0
Data Integration
43 43%
57% 57
Web Service Automation
0 0%
100% 100
Stream Processing
44 44%
56% 56

User comments

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

Social recommendations and mentions

Based on our record, Sidekiq should be more popular than Hangfire. It has been mentiond 20 times since March 2021. 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.

Sidekiq mentions (20)

  • 3 one-person million dollar online businesses
    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. Source: 5 months ago
  • We built the fastest CI in the world. It failed
    > 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. - Source: Hacker News / 7 months ago
  • Organize Business Logic in Your Ruby on Rails Application
    The code above isn't idempotent. If you run it twice, it will create two copies, which is probably not what you intended. Why is this important? Because most backend job processors like Sidekiq don't make any guarantees that your jobs will run exactly once. - Source: dev.to / 11 months ago
  • An M1 for Curl
    Relevant Patio11 comment from 2016: > We don't donate to OSS software which we use, because we're legally not allowed to. > I routinely send key projects, particularly smaller projects, a request to quote me a commercial license of their project, with the explanation that I would accept a quote of $1,000 and that the commercial license can be their existing OSS license plus an invoice. My books suggest we've spent... - Source: Hacker News / over 1 year ago
  • 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
View more

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: over 2 years ago

What are some alternatives?

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

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.

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

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.

Amazon SQS - Amazon Simple Queue Service is a fully managed message queuing service.