Giter Site home page Giter Site logo

Comments (9)

smudge avatar smudge commented on July 22, 2024 21

👋 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.

kyrylo avatar kyrylo commented on July 22, 2024 4

Can we please move this forward?

from delayed_job_active_record.

edariedl avatar edariedl commented on July 22, 2024 3

There are already two pull request for it, but they are not merged yet:

from delayed_job_active_record.

apavlyut avatar apavlyut commented on July 22, 2024

i've resolved it by downgrading from ruby 3.0.2 to 3.0.1.

from delayed_job_active_record.

tomrossi7 avatar tomrossi7 commented on July 22, 2024

Anything we can do to help this get merged?

from delayed_job_active_record.

tomrossi7 avatar tomrossi7 commented on July 22, 2024

Thanks @smudge! I'm going to give this a shot!

from delayed_job_active_record.

nileshtrivedi avatar nileshtrivedi commented on July 22, 2024

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.

edariedl avatar edariedl commented on July 22, 2024

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.

nileshtrivedi avatar nileshtrivedi commented on July 22, 2024

delayed_job has now merged Rails 7.0 support.

from delayed_job_active_record.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.