good_job VS Resque

Compare good_job vs Resque and see what are their differences.

Resque

Resque is a Redis-backed Ruby library for creating background jobs, placing them on multiple queues, and processing them later. (by resque)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
good_job Resque
36 5
2,446 9,388
- 0.1%
9.3 4.1
3 days ago 5 months ago
Ruby Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

good_job

Posts with mentions or reviews of good_job. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-21.
  • solid_queue alternatives - Sidekiq and good_job
    3 projects | 21 Apr 2024
    This is the most direct competitor of good_job in my opinion.
  • Tuning Rails application structure
    2 projects | dev.to | 15 Feb 2024
    Once we are done with default gems, should we look into something we usually use? That's jwt because we need session tokens for our API. Next comes our one and only sidekiq. For a long period of time it was the best in town solution for background jobs. Now we could also consider solid_queue or good_job. In development and testing groups we need rspec-rails, factory_bot_rails and ffaker. Dealing with money? Start doing it properly from the beginning! Do not forget to install money-rails. Once everything is added to the Gemfile do not forget to trigger bundle install.
  • Postgres as Queue
    8 projects | news.ycombinator.com | 9 Feb 2024
    In the world of Ruby, GoodJob [0] has been doing a _good job_ so far.

    [0] - https://github.com/bensheldon/good_job

  • Choose Postgres Queue Technology
    17 projects | news.ycombinator.com | 24 Sep 2023
    For Rails apps, you can do this using the ActiveJob interface via

    https://github.com/bensheldon/good_job

    Had it in production for about a quarter and it’s worked well.

  • Pg_later: Asynchronous Queries for Postgres
    4 projects | news.ycombinator.com | 18 Aug 2023
    Idk about pgagent but any table is a resilient queue with the multiple locks available in pg along with some SELECT pg_advisory_lock or SELECT FOR UPDATE queries, and/or LISTEN/NOTIFY.

    Several bg job libs are built around native locking functionality

    > Relies upon Postgres integrity, session-level Advisory Locks to provide run-once safety and stay within the limits of schema.rb, and LISTEN/NOTIFY to reduce queuing latency.

    https://github.com/bensheldon/good_job

    > |> lock("FOR UPDATE SKIP LOCKED")

    https://github.com/sorentwo/oban/blob/8acfe4dcfb3e55bbf233aa...

  • Noticed Gem and ActionCable
    1 project | /r/rails | 23 Jun 2023
    The suggestion from /u/tofus is a good one. If you are already using redis as your ActionCable adapter I would use sidekiq. If not and you're using postgres I would consider https://github.com/bensheldon/good_job
  • Introducing tobox: a transactional outbox framework
    2 projects | /r/ruby | 29 Apr 2023
    Probably worth mentioning that aside from delayed_job there are at least two more modern alternatives backed by the DB: Que and good_job.
  • Sidekiq jobs in ActiveRecord transactions
    2 projects | /r/rails | 27 Apr 2023
    Good article. Sidekiq is a good, well respected too. However if you are starting out I would recommend not using it, and instead choosing a DB based queue system. We have great success with que, but there are others like good_job.
  • Mike Perham of Sidekiq: “If you build something valuable, charge money for it.”
    6 projects | news.ycombinator.com | 14 Apr 2023
    Sidekiq Pro is great, we're paying for it! 10k a year I think.

    But for people who are interested in alternatives, I'd also suggest Good Job (runs on Postgresql).

    https://github.com/bensheldon/good_job

  • SQL Maxis: Why We Ditched RabbitMQ and Replaced It with a Postgres Queue
    16 projects | news.ycombinator.com | 11 Apr 2023
    I'm the GoodJob author. Here's the class that is responsible for implementing Postgres's LISTEN/NOTIFY functionality in GoodJob:

    https://github.com/bensheldon/good_job/blob/10e9d9b714a668dc...

    That's heavily inspired by Rail's Action Cable (websockets) Adapter for Postgres, which is a bit simpler and easier to understand:

    https://github.com/rails/rails/blob/be287ac0d5000e667510faba...

    Briefly, it spins up a background thread with a dedicated database connection and doings a blocking Postgres LISTEN query returns results, and then it forwards the result to other subscribing objects.

Resque

Posts with mentions or reviews of Resque. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-14.
  • Mike Perham of Sidekiq: “If you build something valuable, charge money for it.”
    6 projects | news.ycombinator.com | 14 Apr 2023
    The free version acts exactly like Resque, the previous market leader in Ruby background jobs. If it was good enough reliability for GitHub and Shopify to use for years, it was good enough for Sidekiq OSS too.

    Here's Resque literally using `lpop` which is destructive and will lose jobs.

    https://github.com/resque/resque/blob/7623b8dfbdd0a07eb04b19...

  • Add web scraping data into the database at regular intervals [ruby & ror]
    2 projects | /r/learnprogramming | 16 Jun 2022
    You can use a background job queue like Resque to scrape and process data in the background, and a scheduler like resque-scheduler to schedule jobs to run your scraper periodically.
  • How to run a really long task from a Rails web request
    3 projects | dev.to | 18 Apr 2022
    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 block other important background tasks for so long.
  • Building a dynamic staging platform
    5 projects | dev.to | 14 Apr 2022
    Background jobs are another limitation. Since only the Aha! web service runs in a dynamic staging, the host environment's workers would process any Resque jobs that were sent to the shared Redis instance. If your branch hadn't updated any background-able methods, this would be no big deal. But if you were hoping to test changes to these methods, you would be out of luck.
  • Autoscaling Redis applications on Kubernetes 🚀🚀
    9 projects | dev.to | 2 Mar 2021
    Redis Lists are quite versatile and used as the backbone for implementing scalable architectural patterns such as consumer-producer (based on queues), where producer applications push items into a List, and consumers (also called workers) process those items. Popular projects such as resque, sidekiq, celery etc. use Redis behind the scenes to implement background jobs.

What are some alternatives?

When comparing good_job and Resque you can also consider the following projects:

Sidekiq - Simple, efficient background processing for Ruby

sidekiq-throttled - Concurrency and rate-limit throttling for Sidekiq

Shoryuken - A super efficient Amazon SQS thread based message processor for Ruby

Que - A Ruby job queue that uses PostgreSQL's advisory locks for speed and reliability.

RabbitMQ - Open source RabbitMQ: core server and tier 1 (built-in) plugins

Delayed::Job - Database based asynchronous priority queue system -- Extracted from Shopify

Sneakers - A fast background processing framework for Ruby and RabbitMQ

Sidekiq::Undertaker - Sidekiq::Undertaker allows exploring, reviving or burying dead jobs.

Sucker Punch - Sucker Punch is a Ruby asynchronous processing library using concurrent-ruby, heavily influenced by Sidekiq and girl_friday.

sidekiq_alive - Liveness probe for Sidekiq in Kubernetes deployments