Software Alternatives & Reviews

NServiceBus VS Hangfire

Compare NServiceBus VS Hangfire and see what are their differences

NServiceBus logo NServiceBus

NServiceBus is a service bus for .NET offering enterprise-grade scalability and reliability for your workflows and integrations.

Hangfire logo Hangfire

An easy way to perform background processing in .NET and .NET Core applications.
  • NServiceBus Landing page
    Landing page //
    2022-06-15
  • Hangfire Landing page
    Landing page //
    2023-10-04

NServiceBus videos

NServiceBus on DNR TV HD

More videos:

  • Review - Udi Dahan presenting on NServiceBus principles (Part 2 of 2)

Hangfire videos

AK 47 Wasr Hangfire - shooter beware

Category Popularity

0-100% (relative to NServiceBus and Hangfire)
Data Integration
43 43%
57% 57
Web Service Automation
44 44%
56% 56
ETL
100 100%
0% 0
Stream Processing
20 20%
80% 80

User comments

Share your experience with using NServiceBus 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, Hangfire seems to be more popular. It has been mentiond 5 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.

NServiceBus mentions (0)

We have not tracked any mentions of NServiceBus yet. Tracking of NServiceBus recommendations started around Mar 2021.

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 NServiceBus and Hangfire, you can also consider the following products

Software AG webMethods - Software AG’s webMethods enables you to quickly integrate systems, partners, data, devices and SaaS applications

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

Azure Service Bus - Learn how to set up messaging that connects applications and services across on-premises and cloud environments. Tutorials, videos, API references, and more.

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.

IBM App Connect - IBM App Connect is the all-in-one integration tool for connecting apps, integrating data, building APIs and acting on events

RabbitMQ - RabbitMQ is an open source message broker software.