good_job VS neoq

Compare good_job vs neoq and see what are their differences.

neoq

Queue-agnostic background job library for Go, with a pleasant API and powerful features. (by acaloiaro)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
good_job neoq
36 5
2,453 244
- -
9.3 8.3
8 days ago 15 days ago
Ruby Go
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.

neoq

Posts with mentions or reviews of neoq. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-08.
  • Show HN: Hatchet – Open-source distributed task queue
    22 projects | news.ycombinator.com | 8 Mar 2024
  • Choose Postgres Queue Technology
    17 projects | news.ycombinator.com | 24 Sep 2023
    I just want to commend OP - if they’re here - for choosing an int64 for job IDs, and MD5 for hashing the payload in Neoq, the job library linked [0] from the article.

    Especially given the emphasis on YAGNI, you don’t need a UUID primary key, and all of its problems they bring for B+trees (that thing RDBMS is built on), nor do you need the collision resistance of SHA256 - the odds of you creating a dupe job hash with MD5 are vanishingly small.

    As to the actual topic, it’s fine IFF you carefully monitor for accumulating dead tuples, and adjust auto-vacuum for that table as necessary. While not something you’d run into at the start, at a modest scale you may start to see issues. May. You may also opt to switch to Redis or something else before that point anyway.

    [0]: https://github.com/acaloiaro/neoq

  • Ask HN: Tell us about your project that's not done yet but you want feedback on
    68 projects | news.ycombinator.com | 16 Aug 2023
    Neoq (https://github.com/acaloiaro/neoq) is a background job processor for Go.

    Yes, another one. It began from my desire to have a robust Postgres-backed job processor. What I quickly realized was that the interface in front of the queue was what was really important. This allowed me to add both in-memory and Redis (provided by asynq) backends behind the same interface. Which allows dependent projects to switch between different backends in different settings/durable requirements. E.g. in-memory for testing/development, postgres when you're not running Google-scale jobs, and Redis for all the obvious use cases for a Redis-backed queue.

    This allows me to swap out job queue backends without changing a line of job processor code.

    I'm familiar with the theory that one shouldn't implement queues on Postgres, and to a large extent, I disagree with those theories. I'm confident you can point out a scenario in which one shouldn't, and I contend that those scenarios are the exception rather than the rule.

  • Examples of using task scheduler with Go?
    8 projects | /r/golang | 3 Jun 2023
    I created a background processor called Neoq (https://github.com/acaloiaro/neoq) that is likely to interest you.
  • SQL Maxis: Why We Ditched RabbitMQ and Replaced It with a Postgres Queue
    16 projects | news.ycombinator.com | 11 Apr 2023
    This is exactly the thesis behind neoq: https://github.com/acaloiaro/neoq

What are some alternatives?

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

Sidekiq - Simple, efficient background processing for Ruby

starqueue

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

oban - 💎 Robust job processing in Elixir, backed by modern PostgreSQL and SQLite3

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

tembo - Monorepo for Tembo Operator, Tembo Stacks, and Tembo CLI

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

Asynq - Simple, reliable, and efficient distributed task queue in Go

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

pgtt - PostgreSQL extension to create, manage and use Oracle-style Global Temporary Tables and the others RDBMS

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

pgjobq - Atomic low latency job queues running on Postgres