StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Utilities
  3. Background Jobs
  4. Message Queue
  5. RabbitMQ vs Resque

RabbitMQ vs Resque

OverviewDecisionsComparisonAlternatives

Overview

RabbitMQ
RabbitMQ
Stacks21.8K
Followers18.9K
Votes558
GitHub Stars13.2K
Forks4.0K
Resque
Resque
Stacks118
Followers126
Votes9
GitHub Stars9.5K
Forks1.7K

RabbitMQ vs Resque: What are the differences?

Introduction

In website development, it is important to have efficient messaging systems that enable reliable communication between different components. Two popular technologies that fulfill this requirement are RabbitMQ and Resque. While both RabbitMQ and Resque are messaging systems, they have key differences that set them apart.

  1. Architecture: RabbitMQ is a message broker that follows the Advanced Message Queuing Protocol (AMQP) standard. It is built on a distributed architecture, where messages are stored in queues and exchanged among multiple producers and consumers. On the other hand, Resque is a simple library for creating a job queue system in Ruby. It follows a single-master architecture, where a single process is responsible for queuing and processing jobs.

  2. Supported Languages: RabbitMQ offers client libraries for multiple languages, including Java, Python, Ruby, and .NET, enabling developers to use the messaging system in their preferred programming language. Resque, on the other hand, is specifically designed for Ruby applications and is tightly integrated with the Ruby ecosystem.

  3. Concurrency and Scaling: RabbitMQ supports concurrent processing of messages by utilizing multiple threads or processes. It allows for horizontal scaling by distributing queues across multiple nodes in a cluster. Resque, on the other hand, is a single-threaded solution and does not natively support horizontal scaling. However, it can be scaled vertically by increasing the computational power of the system.

  4. Message Persistence: RabbitMQ provides options for durable message persistence, ensuring that messages survive broker restarts or failures. It stores messages on disk and allows for configurable message expiration. Resque, on the other hand, does not provide built-in support for message persistence. It relies on the availability of the underlying storage system, such as Redis, for persisting job data.

  5. Message Prioritization: RabbitMQ allows for message prioritization by assigning different priorities to messages. This ensures that higher priority messages are processed first. Resque, on the other hand, does not have built-in support for message prioritization. Jobs are processed in the order they are enqueued.

  6. Message Routing: RabbitMQ supports various message routing patterns, such as direct exchange, topic exchange, fanout exchange, and header exchange. This allows for flexible message routing based on the routing key or message properties. Resque, on the other hand, does not provide advanced message routing capabilities and relies on a simple FIFO (First-In-First-Out) queue for job processing.

In summary, RabbitMQ and Resque differ in their architecture, language support, concurrency and scaling capabilities, message persistence, message prioritization, and message routing capabilities.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on RabbitMQ, Resque

viradiya
viradiya

Apr 12, 2020

Needs adviceonAngularJSAngularJSASP.NET CoreASP.NET CoreMSSQLMSSQL

We are going to develop a microservices-based application. It consists of AngularJS, ASP.NET Core, and MSSQL.

We have 3 types of microservices. Emailservice, Filemanagementservice, Filevalidationservice

I am a beginner in microservices. But I have read about RabbitMQ, but come to know that there are Redis and Kafka also in the market. So, I want to know which is best.

933k views933k
Comments
Pulkit
Pulkit

Software Engineer

Oct 30, 2020

Needs adviceonDjangoDjangoAmazon SQSAmazon SQSRabbitMQRabbitMQ

Hi! I am creating a scraping system in Django, which involves long running tasks between 1 minute & 1 Day. As I am new to Message Brokers and Task Queues, I need advice on which architecture to use for my system. ( Amazon SQS, RabbitMQ, or Celery). The system should be autoscalable using Kubernetes(K8) based on the number of pending tasks in the queue.

474k views474k
Comments
Meili
Meili

Software engineer at Digital Science

Sep 24, 2020

Needs adviceonZeroMQZeroMQRabbitMQRabbitMQAmazon SQSAmazon SQS

Hi, we are in a ZMQ set up in a push/pull pattern, and we currently start to have more traffic and cases that the service is unavailable or stuck. We want to:

  • Not loose messages in services outages
  • Safely restart service without losing messages (@{ZeroMQ}|tool:1064| seems to need to close the socket in the receiver before restart manually)

Do you have experience with this setup with ZeroMQ? Would you suggest RabbitMQ or Amazon SQS (we are in AWS setup) instead? Something else?

Thank you for your time

500k views500k
Comments

Detailed Comparison

RabbitMQ
RabbitMQ
Resque
Resque

RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.

Background jobs can be any Ruby class or module that responds to perform. Your existing classes can easily be converted to background jobs or you can create new classes specifically to do work. Or, you can do both.

Robust messaging for applications;Easy to use;Runs on all major operating systems;Supports a huge number of developer platforms;Open source and commercially supported
-
Statistics
GitHub Stars
13.2K
GitHub Stars
9.5K
GitHub Forks
4.0K
GitHub Forks
1.7K
Stacks
21.8K
Stacks
118
Followers
18.9K
Followers
126
Votes
558
Votes
9
Pros & Cons
Pros
  • 235
    It's fast and it works with good metrics/monitoring
  • 80
    Ease of configuration
  • 60
    I like the admin interface
  • 52
    Easy to set-up and start with
  • 22
    Durable
Cons
  • 9
    Too complicated cluster/HA config and management
  • 6
    Needs Erlang runtime. Need ops good with Erlang runtime
  • 5
    Configuration must be done first, not by your code
  • 4
    Slow
Pros
  • 5
    Free
  • 3
    Scalable
  • 1
    Easy to use on heroku

What are some alternatives to RabbitMQ, Resque?

Kafka

Kafka

Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.

Sidekiq

Sidekiq

Sidekiq uses threads to handle many jobs at the same time in the same process. It does not require Rails but will integrate tightly with Rails 3/4 to make background processing dead simple.

Celery

Celery

Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.

Amazon SQS

Amazon SQS

Transmit any volume of data, at any level of throughput, without losing messages or requiring other services to be always available. With SQS, you can offload the administrative burden of operating and scaling a highly available messaging cluster, while paying a low price for only what you use.

NSQ

NSQ

NSQ is a realtime distributed messaging platform designed to operate at scale, handling billions of messages per day. It promotes distributed and decentralized topologies without single points of failure, enabling fault tolerance and high availability coupled with a reliable message delivery guarantee. See features & guarantees.

ActiveMQ

ActiveMQ

Apache ActiveMQ is fast, supports many Cross Language Clients and Protocols, comes with easy to use Enterprise Integration Patterns and many advanced features while fully supporting JMS 1.1 and J2EE 1.4. Apache ActiveMQ is released under the Apache 2.0 License.

Beanstalkd

Beanstalkd

Beanstalks's interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously.

ZeroMQ

ZeroMQ

The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more.

Apache NiFi

Apache NiFi

An easy to use, powerful, and reliable system to process and distribute data. It supports powerful and scalable directed graphs of data routing, transformation, and system mediation logic.

Gearman

Gearman

Gearman allows you to do work in parallel, to load balance processing, and to call functions between languages. It can be used in a variety of applications, from high-availability web sites to the transport of database replication events.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase