Alternatives to Resque logo

Alternatives to Resque

Sidekiq, delayed_job, Celery, Beanstalkd, and RabbitMQ are the most popular alternatives and competitors to Resque.
119
126
+ 1
9

What is Resque and what are its top alternatives?

Resque is a popular job queueing system for Ruby applications, built on top of Redis. It provides a simple UI for managing jobs, prioritizing them, and monitoring their status. Resque is known for its reliability, scalability, and performance, making it a go-to choice for background processing in many Ruby projects. However, one of its limitations is that it requires a separate Redis instance to function, adding complexity to the setup process.

  1. Sidekiq: Sidekiq is a popular alternative to Resque that is known for its high performance and low memory usage. It utilizes threads instead of separate processes for better efficiency. Pros: Efficient memory usage, support for multi-threading. Cons: Paid options for some advanced features.
  2. Delayed::Job: Delayed::Job is a simple, database-backed job queue that is easy to set up and use. It is a lightweight alternative to Resque with fewer dependencies. Pros: Easy to set up, minimal configuration required. Cons: May not be as efficient for high-traffic applications.
  3. Que: Que is a high-performance job queue for Ruby applications that is also built on top of PostgreSQL. It offers advanced features like job priority and scheduling. Pros: Seamless integration with PostgreSQL, supports job dependencies. Cons: Limited scalability compared to Redis-based solutions.
  4. Sucker Punch: Sucker Punch is a simple, single-threaded background processing library that is suitable for lightweight job queuing needs. Pros: Easy to set up, lightweight solution. Cons: Limited scalability and performance compared to multi-threaded or multi-process alternatives.
  5. Shoryuken: Shoryuken is a concurrent job processor for Amazon SQS that is highly scalable and efficient. It is designed to work well with Rails applications and offers built-in support for handling large volumes of jobs. Pros: Scalable, efficient processing of jobs. Cons: Specific to Amazon SQS, may not be suitable for other queueing systems.
  6. Quebert: Quebert is a versatile job queuing library that supports multiple backends, including Redis and in-memory queues. It offers features like job retry logic and error handling. Pros: Flexible backend support, robust error handling. Cons: May require additional configuration for specific use cases.
  7. Sneakers: Sneakers is a fast and scalable queuing system for Ruby applications that is built on top of RabbitMQ. It is suitable for high-throughput and mission-critical applications. Pros: High performance, built-in support for RabbitMQ. Cons: Requires a RabbitMQ server to function, may add complexity to the setup.
  8. Kue: Kue is a feature-rich job queuing system for Node.js applications that offers a user-friendly UI for managing jobs. It supports priority queues, delayed jobs, and job progress tracking. Pros: User-friendly interface, comprehensive feature set. Cons: Limited to Node.js applications, may not be suitable for Ruby projects.
  9. Brpoplpush: Brpoplpush is a lightweight Redis queueing library for Ruby that is known for its simplicity and low overhead. It provides basic queueing functionality without the need for additional dependencies. Pros: Lightweight, minimal overhead. Cons: Limited features compared to more advanced job queuing systems.
  10. Backburner: Backburner is a flexible and extensible job queuing system for Ruby applications that offers features like batch processing and job lifecycle management. It is suitable for handling complex background processing needs. Pros: Extensible architecture, advanced features. Cons: May require additional setup for specific use cases, may not be as straightforward to use as simpler alternatives.

Top Alternatives to Resque

  • 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. ...

  • delayed_job
    delayed_job

    Delayed_job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background. It is a direct extraction from Shopify where the job table is responsible for a multitude of core tasks. ...

  • 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. ...

  • 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. ...

  • RabbitMQ
    RabbitMQ

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

  • Rake
    Rake

    It is a software task management and build automation tool. It allows the user to specify tasks and describe dependencies as well as to group tasks in a namespace. ...

  • MySQL
    MySQL

    The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software. ...

  • PostgreSQL
    PostgreSQL

    PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions. ...

Resque alternatives & related posts

Sidekiq logo

Sidekiq

1.1K
408
Simple, efficient background processing for Ruby
1.1K
408
PROS OF SIDEKIQ
  • 124
    Simple
  • 99
    Efficient background processing
  • 60
    Scalability
  • 37
    Better then resque
  • 26
    Great documentation
  • 15
    Admin tool
  • 14
    Great community
  • 8
    Integrates with redis automatically, with zero config
  • 7
    Stupidly simple to integrate and run on Rails/Heroku
  • 7
    Great support
  • 3
    Ruby
  • 3
    Freeium
  • 2
    Pro version
  • 1
    Dashboard w/live polling
  • 1
    Great ecosystem of addons
  • 1
    Fast
CONS OF SIDEKIQ
    Be the first to leave a con

    related Sidekiq posts

    Simon Bettison
    Managing Director at Bettison.org Limited · | 9 upvotes · 928.9K views

    In 2012 we made the very difficult decision to entirely re-engineer our existing monolithic LAMP application from the ground up in order to address some growing concerns about it's long term viability as a platform.

    Full application re-write is almost always never the answer, because of the risks involved. However the situation warranted drastic action as it was clear that the existing product was going to face severe scaling issues. We felt it better address these sooner rather than later and also take the opportunity to improve the international architecture and also to refactor the database in. order that it better matched the changes in core functionality.

    PostgreSQL was chosen for its reputation as being solid ACID compliant database backend, it was available as an offering AWS RDS service which reduced the management overhead of us having to configure it ourselves. In order to reduce read load on the primary database we implemented an Elasticsearch layer for fast and scalable search operations. Synchronisation of these indexes was to be achieved through the use of Sidekiq's Redis based background workers on Amazon ElastiCache. Again the AWS solution here looked to be an easy way to keep our involvement in managing this part of the platform at a minimum. Allowing us to focus on our core business.

    Rails ls was chosen for its ability to quickly get core functionality up and running, its MVC architecture and also its focus on Test Driven Development using RSpec and Selenium with Travis CI providing continual integration. We also liked Ruby for its terse, clean and elegant syntax. Though YMMV on that one!

    Unicorn was chosen for its continual deployment and reputation as a reliable application server, nginx for its reputation as a fast and stable reverse-proxy. We also took advantage of the Amazon CloudFront CDN here to further improve performance by caching static assets globally.

    We tried to strike a balance between having control over management and configuration of our core application with the convenience of being able to leverage AWS hosted services for ancillary functions (Amazon SES , Amazon SQS Amazon Route 53 all hosted securely inside Amazon VPC of course!).

    Whilst there is some compromise here with potential vendor lock in, the tasks being performed by these ancillary services are no particularly specialised which should mitigate this risk. Furthermore we have already containerised the stack in our development using Docker environment, and looking to how best to bring this into production - potentially using Amazon EC2 Container Service

    See more
    Cyril Duchon-Doris

    We decided to use AWS Lambda for several serverless tasks such as

    • Managing AWS backups
    • Processing emails received on Amazon SES and stored to Amazon S3 and notified via Amazon SNS, so as to push a message on our Redis so our Sidekiq Rails workers can process inbound emails
    • Pushing some relevant Amazon CloudWatch metrics and alarms to Slack
    See more
    delayed_job logo

    delayed_job

    52
    6
    Database backed asynchronous priority queue -- Extracted from Shopify
    52
    6
    PROS OF DELAYED_JOB
    • 3
      Easy to get started
    • 2
      Reliable
    • 1
      Doesn't require Redis
    CONS OF DELAYED_JOB
      Be the first to leave a con

      related delayed_job posts

      John Barton

      Docker Compose might have been a bit of overkill for a dev environment as a solo founder, but I'd found so much with past side projects (though this is no longer a side project) that I would frequently waste time every time I came back to work on the project getting my dev env sorted again.

      Made the conscious choice to make a "prod-ish" docker-compose config up front to make sure that didn't bite me again.

      Structured it so I have the following containers running

      • server - the Rails app in API style
      • client - the Create React App
      • ngrok - ngrok to receive webhooks in dev
      • db - PostgreSQL
      • queues - delayed_job worker
      See more
      Jerome Dalbert
      Principal Backend Software Engineer at StackShare · | 4 upvotes · 88.1K views

      delayed_job is a great Rails background job library for new projects, as it only uses what you already have: a relational database. We happily used it during the company’s first two years.

      But it started to falter as our web and database transactions significantly grew. Our app interacted with users via SMS texts sent inside background jobs. Because the delayed_job daemon ran every couple seconds, this meant that users often waited several long seconds before getting text replies, which was not acceptable. Moreover, job processing was done inside AWS Elastic Beanstalk web instances, which were already under stress and not meant to handle jobs.

      We needed a fast background job system that could process jobs in near real-time and integrate well with AWS. Sidekiq is a fast and popular Ruby background job library, but it does not leverage the Elastic Beanstalk worker architecture, and you have to maintain a Redis instance.

      We ended up choosing active-elastic-job, which seamlessly integrates with worker instances and Amazon SQS. SQS is a fast queue and you don’t need to worry about infrastructure or scaling, as AWS handles it for you.

      We noticed significant performance gains immediately after making the switch.

      #BackgroundProcessing

      See more
      Celery logo

      Celery

      1.6K
      280
      Distributed task queue
      1.6K
      280
      PROS OF CELERY
      • 99
        Task queue
      • 63
        Python integration
      • 40
        Django integration
      • 30
        Scheduled Task
      • 19
        Publish/subsribe
      • 8
        Various backend broker
      • 6
        Easy to use
      • 5
        Great community
      • 5
        Workflow
      • 4
        Free
      • 1
        Dynamic
      CONS OF CELERY
      • 4
        Sometimes loses tasks
      • 1
        Depends on broker

      related Celery posts

      James Cunningham
      Operations Engineer at Sentry · | 21 upvotes · 367.7K views

      Sentry started as (and remains) an open-source project, growing out of an error logging tool built in 2008. That original build nine years ago was Django and Celery (Python’s asynchronous task codebase), with PostgreSQL as the database and Redis as the power behind Celery.

      We displayed a truly shrewd notion of branding even then, giving the project a catchy name that companies the world over remain jealous of to this day: django-db-log. For the longest time, Sentry’s subtitle on GitHub was “A simple Django app, built with love.” A slightly more accurate description probably would have included Starcraft and Soylent alongside love; regardless, this captured what Sentry was all about.

      #MessageQueue #InMemoryDatabases

      See more
      James Cunningham
      Operations Engineer at Sentry · | 18 upvotes · 1.8M views
      Shared insights
      on
      CeleryCeleryRabbitMQRabbitMQ
      at

      As Sentry runs throughout the day, there are about 50 different offline tasks that we execute—anything from “process this event, pretty please” to “send all of these cool people some emails.” There are some that we execute once a day and some that execute thousands per second.

      Managing this variety requires a reliably high-throughput message-passing technology. We use Celery's RabbitMQ implementation, and we stumbled upon a great feature called Federation that allows us to partition our task queue across any number of RabbitMQ servers and gives us the confidence that, if any single server gets backlogged, others will pitch in and distribute some of the backlogged tasks to their consumers.

      #MessageQueue

      See more
      Beanstalkd logo

      Beanstalkd

      110
      74
      A simple, fast work queue
      110
      74
      PROS OF BEANSTALKD
      • 23
        Fast
      • 12
        Free
      • 12
        Does one thing well
      • 9
        Scalability
      • 8
        Simplicity
      • 3
        External admin UI developer friendly
      • 3
        Job delay
      • 2
        Job prioritization
      • 2
        External admin UI
      CONS OF BEANSTALKD
        Be the first to leave a con

        related Beanstalkd posts

        Frédéric MARAND
        Core Developer at OSInet · | 2 upvotes · 235.7K views

        I used Kafka originally because it was mandated as part of the top-level IT requirements at a Fortune 500 client. What I found was that it was orders of magnitude more complex ...and powerful than my daily Beanstalkd , and far more flexible, resilient, and manageable than RabbitMQ.

        So for any case where utmost flexibility and resilience are part of the deal, I would use Kafka again. But due to the complexities involved, for any time where this level of scalability is not required, I would probably just use Beanstalkd for its simplicity.

        I tend to find RabbitMQ to be in an uncomfortable middle place between these two extremities.

        See more
        RabbitMQ logo

        RabbitMQ

        21.7K
        557
        Open source multiprotocol messaging broker
        21.7K
        557
        PROS OF RABBITMQ
        • 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
        • 19
          Standard protocols
        • 19
          Intuitive work through python
        • 11
          Written primarily in Erlang
        • 9
          Simply superb
        • 7
          Completeness of messaging patterns
        • 4
          Reliable
        • 4
          Scales to 1 million messages per second
        • 3
          Better than most traditional queue based message broker
        • 3
          Distributed
        • 3
          Supports MQTT
        • 3
          Supports AMQP
        • 2
          Clear documentation with different scripting language
        • 2
          Better routing system
        • 2
          Inubit Integration
        • 2
          Great ui
        • 2
          High performance
        • 2
          Reliability
        • 2
          Open-source
        • 2
          Runs on Open Telecom Platform
        • 2
          Clusterable
        • 2
          Delayed messages
        • 1
          Supports Streams
        • 1
          Supports STOMP
        • 1
          Supports JMS
        CONS OF RABBITMQ
        • 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

        related RabbitMQ posts

        James Cunningham
        Operations Engineer at Sentry · | 18 upvotes · 1.8M views
        Shared insights
        on
        CeleryCeleryRabbitMQRabbitMQ
        at

        As Sentry runs throughout the day, there are about 50 different offline tasks that we execute—anything from “process this event, pretty please” to “send all of these cool people some emails.” There are some that we execute once a day and some that execute thousands per second.

        Managing this variety requires a reliably high-throughput message-passing technology. We use Celery's RabbitMQ implementation, and we stumbled upon a great feature called Federation that allows us to partition our task queue across any number of RabbitMQ servers and gives us the confidence that, if any single server gets backlogged, others will pitch in and distribute some of the backlogged tasks to their consumers.

        #MessageQueue

        See more
        Yogesh Bhondekar
        Product Manager | SaaS | Traveller · | 16 upvotes · 496.7K views

        Hi, I am building an enhanced web-conferencing app that will have a voice/video call, live chats, live notifications, live discussions, screen sharing, etc features. Ref: Zoom.

        I need advise finalizing the tech stack for this app. I am considering below tech stack:

        • Frontend: React
        • Backend: Node.js
        • Database: MongoDB
        • IAAS: #AWS
        • Containers & Orchestration: Docker / Kubernetes
        • DevOps: GitLab, Terraform
        • Brokers: Redis / RabbitMQ

        I need advice at the platform level as to what could be considered to support concurrent video streaming seamlessly.

        Also, please suggest what could be a better tech stack for my app?

        #SAAS #VideoConferencing #WebAndVideoConferencing #zoom #stack

        See more
        Rake logo

        Rake

        56
        0
        A software task management and build automation tool
        56
        0
        PROS OF RAKE
          Be the first to leave a pro
          CONS OF RAKE
            Be the first to leave a con

            related Rake posts

            MySQL logo

            MySQL

            128.4K
            3.8K
            The world's most popular open source database
            128.4K
            3.8K
            PROS OF MYSQL
            • 800
              Sql
            • 679
              Free
            • 562
              Easy
            • 528
              Widely used
            • 490
              Open source
            • 180
              High availability
            • 160
              Cross-platform support
            • 104
              Great community
            • 79
              Secure
            • 75
              Full-text indexing and searching
            • 26
              Fast, open, available
            • 16
              Reliable
            • 16
              SSL support
            • 15
              Robust
            • 9
              Enterprise Version
            • 7
              Easy to set up on all platforms
            • 3
              NoSQL access to JSON data type
            • 1
              Relational database
            • 1
              Easy, light, scalable
            • 1
              Sequel Pro (best SQL GUI)
            • 1
              Replica Support
            CONS OF MYSQL
            • 16
              Owned by a company with their own agenda
            • 3
              Can't roll back schema changes

            related MySQL posts

            Nick Rockwell
            SVP, Engineering at Fastly · | 46 upvotes · 4.4M views

            When I joined NYT there was already broad dissatisfaction with the LAMP (Linux Apache HTTP Server MySQL PHP) Stack and the front end framework, in particular. So, I wasn't passing judgment on it. I mean, LAMP's fine, you can do good work in LAMP. It's a little dated at this point, but it's not ... I didn't want to rip it out for its own sake, but everyone else was like, "We don't like this, it's really inflexible." And I remember from being outside the company when that was called MIT FIVE when it had launched. And been observing it from the outside, and I was like, you guys took so long to do that and you did it so carefully, and yet you're not happy with your decisions. Why is that? That was more the impetus. If we're going to do this again, how are we going to do it in a way that we're gonna get a better result?

            So we're moving quickly away from LAMP, I would say. So, right now, the new front end is React based and using Apollo. And we've been in a long, protracted, gradual rollout of the core experiences.

            React is now talking to GraphQL as a primary API. There's a Node.js back end, to the front end, which is mainly for server-side rendering, as well.

            Behind there, the main repository for the GraphQL server is a big table repository, that we call Bodega because it's a convenience store. And that reads off of a Kafka pipeline.

            See more

            Hello, I am building a website for a school that's used by students to find Zoom meeting links, view their marks, and check course materials. It is also used by the teachers to put the meeting links, students' marks, and course materials.

            I created a similar website using HTML, CSS, PHP, and MySQL. Now I want to implement this project using some frameworks: Next.js, ExpressJS and use PostgreSQL instead of MYSQL

            I want to have some advice on whether these are enough to implement my project.

            See more
            PostgreSQL logo

            PostgreSQL

            100.5K
            3.5K
            A powerful, open source object-relational database system
            100.5K
            3.5K
            PROS OF POSTGRESQL
            • 764
              Relational database
            • 510
              High availability
            • 439
              Enterprise class database
            • 383
              Sql
            • 304
              Sql + nosql
            • 173
              Great community
            • 147
              Easy to setup
            • 131
              Heroku
            • 130
              Secure by default
            • 113
              Postgis
            • 50
              Supports Key-Value
            • 48
              Great JSON support
            • 34
              Cross platform
            • 33
              Extensible
            • 28
              Replication
            • 26
              Triggers
            • 23
              Multiversion concurrency control
            • 23
              Rollback
            • 21
              Open source
            • 18
              Heroku Add-on
            • 17
              Stable, Simple and Good Performance
            • 15
              Powerful
            • 13
              Lets be serious, what other SQL DB would you go for?
            • 11
              Good documentation
            • 9
              Scalable
            • 8
              Reliable
            • 8
              Intelligent optimizer
            • 8
              Free
            • 7
              Transactional DDL
            • 7
              Modern
            • 6
              One stop solution for all things sql no matter the os
            • 5
              Relational database with MVCC
            • 5
              Faster Development
            • 4
              Full-Text Search
            • 4
              Developer friendly
            • 3
              Open-source
            • 3
              search
            • 3
              Great DB for Transactional system or Application
            • 3
              Free version
            • 3
              Excellent source code
            • 3
              Relational datanbase
            • 2
              Text
            • 2
              Full-text
            • 1
              Can handle up to petabytes worth of size
            • 1
              Multiple procedural languages supported
            • 1
              Composability
            • 0
              Native
            CONS OF POSTGRESQL
            • 10
              Table/index bloatings

            related PostgreSQL posts

            Hello, I am building a website for a school that's used by students to find Zoom meeting links, view their marks, and check course materials. It is also used by the teachers to put the meeting links, students' marks, and course materials.

            I created a similar website using HTML, CSS, PHP, and MySQL. Now I want to implement this project using some frameworks: Next.js, ExpressJS and use PostgreSQL instead of MYSQL

            I want to have some advice on whether these are enough to implement my project.

            See more
            Simon Reymann
            Senior Fullstack Developer at QUANTUSflow Software GmbH · | 30 upvotes · 12.7M views

            Our whole DevOps stack consists of the following tools:

            • GitHub (incl. GitHub Pages/Markdown for Documentation, GettingStarted and HowTo's) for collaborative review and code management tool
            • Respectively Git as revision control system
            • SourceTree as Git GUI
            • Visual Studio Code as IDE
            • CircleCI for continuous integration (automatize development process)
            • Prettier / TSLint / ESLint as code linter
            • SonarQube as quality gate
            • Docker as container management (incl. Docker Compose for multi-container application management)
            • VirtualBox for operating system simulation tests
            • Kubernetes as cluster management for docker containers
            • Heroku for deploying in test environments
            • nginx as web server (preferably used as facade server in production environment)
            • SSLMate (using OpenSSL) for certificate management
            • Amazon EC2 (incl. Amazon S3) for deploying in stage (production-like) and production environments
            • PostgreSQL as preferred database system
            • Redis as preferred in-memory database/store (great for caching)

            The main reason we have chosen Kubernetes over Docker Swarm is related to the following artifacts:

            • Key features: Easy and flexible installation, Clear dashboard, Great scaling operations, Monitoring is an integral part, Great load balancing concepts, Monitors the condition and ensures compensation in the event of failure.
            • Applications: An application can be deployed using a combination of pods, deployments, and services (or micro-services).
            • Functionality: Kubernetes as a complex installation and setup process, but it not as limited as Docker Swarm.
            • Monitoring: It supports multiple versions of logging and monitoring when the services are deployed within the cluster (Elasticsearch/Kibana (ELK), Heapster/Grafana, Sysdig cloud integration).
            • Scalability: All-in-one framework for distributed systems.
            • Other Benefits: Kubernetes is backed by the Cloud Native Computing Foundation (CNCF), huge community among container orchestration tools, it is an open source and modular tool that works with any OS.
            See more