Comments (9)
👋 Hey all! I just wanted to share that my team at Betterment is maintaining a Rails 7 and Ruby 3 compatible fork that combines delayed_job
and delayed_job_active_record
into a single gem (just delayed
):
https://github.com/Betterment/delayed
First and foremost: I'd love to help upstream any changes or features that folks think would be valuable, but delayed_job
's maintenance status is somewhat unclear right now and PRs don't seem to be getting merged. (🙁 )
Also worth noting: while the delayed
gem aims to be compatible with existing DJ enqueue APIs & plugins, we've made a bunch of adjustments under the hood, so there are a few things to consider if you're thinking about switching, most notably the fact that it only supports ActiveRecord-backed jobs.
So why fork? I wrote about our motivations here, but basically, we had already been maintaining private forks for many years, focused on scaling up our own SQL-backed job queues (we're now up to tens of millions of jobs per day). This led to an overhauled concurrency model, changes to the pickup strategy, more built-in instrumentation/monitoring features, and a few other convenience changes (which we cover in the README). Ultimately, we diverged enough that when we decided to share our changes publicly earlier this year, packaging it all under a fork made sense.
So if you're here, and you're still reading this, maybe delayed
will be of interest to you! If it is, and if you run into any issues in trying it out, please let us know! (Again, it isn't quite a 1:1 replacement, but it might be a relatively easy swap, depending on your existing usage.)
from delayed_job_active_record.
Can we please move this forward?
from delayed_job_active_record.
There are already two pull request for it, but they are not merged yet:
from delayed_job_active_record.
i've resolved it by downgrading from ruby 3.0.2 to 3.0.1.
from delayed_job_active_record.
Anything we can do to help this get merged?
from delayed_job_active_record.
Thanks @smudge! I'm going to give this a shot!
from delayed_job_active_record.
There are already two pull request for it, but they are not merged yet:
@edariedl Both of these PRs mention < 7.0
so I think they will not actually resolve this issue which is about supporting Rails 7.0. I think we need a fresh PR for 7.0.
In fact, delayed_job
itself is referencing < 6.2
as of this moment, so the fix would have to start there.
from delayed_job_active_record.
Yeah both of those pull requests are obsolete now (one of them was for delayed_job
). New PRs or updates from maintainers are necessary.
from delayed_job_active_record.
delayed_job has now merged Rails 7.0 support.
from delayed_job_active_record.
Related Issues (20)
- Rails 6.1.0.alpha support HOT 3
- `Delayed::Job` no longer defined in initializers HOT 16
- Delayed::DeserializationError: Job failed to load: undefined class/module Spree::AccountSalesRecordMailer.
- undefined method `table_name=` for Delayed::Backend::ActiveRecord::Job:Class HOT 1
- 4.1.5 breaking changes HOT 5
- A way to get the job ID inside a worker? HOT 2
- Error in 4.1.5 when upgrading Rails from 6.0 to 6.1 HOT 2
- Job running on 2 workers at once after timeout HOT 1
- Delayed job stops, the jobs are stuck in postgres HOT 6
- Use case for locked_by in the ready_to_run query HOT 1
- Use `update` instead of `update_all` in the reserve_with_scope_using_optimized_mysql method.
- Do that destroy_failed_jobs get honored by delayed_job?
- Problem with DelayedJob Psych gem when upgrading to Ruby 2.7.5 HOT 2
- Rails 7 weird error: can't dump anonymous module HOT 3
- Can't create Delayed::Job record after `errors.add` in model HOT 1
- How does max_attempts interface with ActiveJob retry_on method?
- Deprecation warning in rails 7.1 HOT 1
- Need a new release to support rails 7.1
- Don't optimize mysql query with trilogy gem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from delayed_job_active_record.