heroku-buildpack-jemalloc VS good_job

Compare heroku-buildpack-jemalloc vs good_job and see what are their differences.

heroku-buildpack-jemalloc

Heroku buildpack that installs the Jemalloc memory allocator (by gaffneyc)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
heroku-buildpack-jemalloc good_job
3 36
238 2,446
- -
2.5 9.3
6 months ago 1 day ago
Shell Ruby
BSD 3-clause "New" or "Revised" 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.

heroku-buildpack-jemalloc

Posts with mentions or reviews of heroku-buildpack-jemalloc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-08.
  • Delayed Job vs. Sidekiq: Which Is Better?
    5 projects | dev.to | 8 Mar 2022
    Using jemalloc instead of regular malloc helps too. The exact way to do this depends on the platform you use, but it is pretty simple on Heroku. Just set heroku-buildpack-jemalloc as the first buildpack (ahead of the heroku/ruby buildpack).
    13 projects | news.ycombinator.com | 16 Feb 2022
    I've recently discovered jemalloc, specifically when used with Heroku.

    "Using jemalloc instead of regular malloc helps too. The exact way to do this depends on the platform you use, but it is pretty simple on Heroku. Just set heroku-buildpack-jemalloc as the first buildpack (ahead of the heroku/ruby buildpack)."

    FYI, remember to set JEMALLOC_ENABLED=true in your env to actually turn it on.

    https://github.com/gaffneyc/heroku-buildpack-jemalloc

  • Digital Ocean App Platform vs Heroku
    2 projects | dev.to | 24 Dec 2020
    Like I mentioned earlier, Digital Ocean App Platform uses the same buildpacks as Heroku to deploy your apps. This means that most apps that can be deployed on Heroku should also be deployed on Digital Ocean. There is one big caveat, though; you can't select which buildpack(s) to use. This means you have to rely on Digital Ocean to pick the right ones for your project. It also gives you a bit less flexibility in how your app runs. For instance, I recently configured our app at work to run using jemalloc, a malloc alternative that often has better performance for Ruby apps. We did that via a buildpack heroku-buildpack-jemalloc, which allowed us to switch to jemalloc without any app changes. Customizations to the build environment like this don't seem possible given the Digital Ocean App Platform's current offerings.

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.

What are some alternatives?

When comparing heroku-buildpack-jemalloc and good_job you can also consider the following projects:

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

Sidekiq - Simple, efficient background processing for Ruby

subdir-heroku-buildpack - Allows to use subdirectory configured via environment variable as a project root

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

create-react-app-buildpack - ⚛️ Heroku Buildpack for create-react-app: static hosting for React.js web apps

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

inst-jobs - Instructure-maintained fork of delayed_job

heroku-integrated-firefox-geckodriver - Buildpack enables your client code to access Firefox along with Geckodriver in a Heroku slug.

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

dotnetcore-buildpack - Heroku .NET Core Buildpack

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