sr_mini
good_job
sr_mini | good_job | |
---|---|---|
3 | 40 | |
138 | 2,837 | |
0.0% | 0.7% | |
1.8 | 8.8 | |
about 4 years ago | 14 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
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.
sr_mini
- I created a single file rails app to help you learn about StimulusReflex and CableReady. Let me know what you think. (/r/rails)
-
Reactive Rails in Context
I recently created a very small single file Rails app to help you learn about (and tinker with) StimulusReflex and CableReady. You can literally be up and running in a matter of seconds. https://github.com/hopsoft/sr_mini
- I created a single file rails app to help you learn about StimulusReflex and CableReady. Let me know what you think.
good_job
-
Show HN: PgQueuer β Transform Your PostgreSQL into a Powerful Job Queue
Good Job does the same for Rails
https://github.com/bensheldon/good_job
-
Release Radar Β· July 2024: Major updates from the open source community
I wish I got told "good job" π every single day. Rather than telling you what a good job you did, GoodJob provides a multithreaded, Postgres-based, Active Job backend for Ruby on Rails. This newest version resolves deferred database schema changes, and removes deprecated behaviour. It's been two years since the last major version update, and there are over 100 patch releases from 88 contributors including new batches, bulk enqueuing, labelled jobs, job throttling, dark mode for the web dashboard, and tonnes more. Read about them all in the GoodJob Discussion post.
- GoodJob: Multithreaded, Postgres-Based, Active Job Back End for Ruby on Rails
-
Monitor the Performance of Your Ruby on Rails Application Using AppSignal
The background processing gem we'll use in the expense tracker app is GoodJob, but you're free to use whatever suits you.
-
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
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
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
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
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
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
What are some alternatives?
ultimate_search - A demo app to illustrate the first post of an ongoing series to build the ultimate Search feature for Rails apps
Sidekiq - Simple, efficient background processing for Ruby
prism - Build frontend web apps with Ruby and WebAssembly
Que - A Ruby job queue that uses PostgreSQL's advisory locks for speed and reliability.
dordle - Wordle Clone in Rails using Stimulus Reflex
Sidekiq::Undertaker - Sidekiq::Undertaker allows exploring, reviving or burying dead jobs.