Software Alternatives & Reviews

Hangfire VS ZeroMQ

Compare Hangfire VS ZeroMQ and see what are their differences

Hangfire logo Hangfire

An easy way to perform background processing in .NET and .NET Core applications.

ZeroMQ logo ZeroMQ

ZeroMQ is a high-performance asynchronous messaging library.
  • Hangfire Landing page
    Landing page //
    2023-10-04
  • ZeroMQ Landing page
    Landing page //
    2021-10-01

Hangfire videos

AK 47 Wasr Hangfire - shooter beware

ZeroMQ videos

Pieter Hintjens - Distribution, Scale and Flexibility with ZeroMQ

More videos:

  • Review - DragonOS LTS Review srsLTE ZeroMQ, tetra, IMSI catcher, irdium toolkit, and modmobmap (rtlsdr)

Category Popularity

0-100% (relative to Hangfire and ZeroMQ)
Data Integration
32 32%
68% 68
Stream Processing
27 27%
73% 73
Web Service Automation
35 35%
65% 65
Microservices Tools
100 100%
0% 0

User comments

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

Social recommendations and mentions

Based on our record, ZeroMQ should be more popular than Hangfire. It has been mentiond 35 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.

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

ZeroMQ mentions (35)

  • Omegle is Gone, What Will Fill It's Gap?
    In this post from 2011, the creator of Omegle, Leif Brooks, explains what technology is used, including Python and a library called gevent for the backend. On top of that, Adobe Cirrus is used for streaming video. Though this post was 12 years ago, it is valuable to know what a web application like Omegle requires. A modern library that may provide some functionality for a text chat at a minimum may be... Source: 6 months ago
  • Video Streaming at Scale with Kubernetes and RabbitMQ
    They might be thinking of something like ZeroMQ, which is pretty well liked: https://zeromq.org/ That said, I wouldn't call RabbitMQ that heavyweight myself, at least when compared to something like Apache Kafka. - Source: Hacker News / 7 months ago
  • learn by doing vs learn by course?
    If you want to learn message passing in an environment you're familiar with, you should check out ZeroMQ. It's a C++ lib for socket abstraction, it's immensely useful in distributed systems, it can also do in-process message passing, and it's got bindings/ports for C and Rust. Source: 12 months ago
  • Shipping large ML models with electron
    Inspired by the IDE language server protocol, I created an API interface between the electron and the Python ML interface. ZeroMQ turned out be an invaluable resource as a fast and lightweight messaging queue between the two. - Source: dev.to / about 1 year ago
  • how to display constantly changing data from a database in real time
    If you really need it live, like for a chat or auctions you can use https://zeromq.org/ over websockets. Source: about 1 year ago
View more

What are some alternatives?

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

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

RabbitMQ - RabbitMQ is an open source message broker software.

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.

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

Apache ActiveMQ - Apache ActiveMQ is an open source messaging and integration patterns server.

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