Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: documentation for worker implementations in other languages #286

Open
tcwalther opened this issue Aug 21, 2024 · 3 comments

Comments

@tcwalther
Copy link

It would be fantastic if a documentation page existed that explained exactly the steps that a third-party library would have to implement to produce a compatible worker.

Use Case

Most ML or scientific code is written in Python. It would be phenomenal if I could trigger Python jobs using SolidQueue in Rails. The Python library would only need to implement a small subset of SolidQueue, enough to pick up a job and process it.

@pyrat
Copy link

pyrat commented Dec 30, 2024

+1 for this. @tcwalther I would be keen to collaborate on writing a Python worker implementation.

@rosa
Copy link
Member

rosa commented Dec 31, 2024

Hey @tcwalther, @pyrat, sorry for the delay commenting here! I wasn't sure about what exactly you'd need from here because Solid Queue works and conforms to Active Job, so it sounds like you're asking about writing a queue system compatible with Active Job?

@tcwalther
Copy link
Author

tcwalther commented Jan 2, 2025

Hi Rosa,

My understanding is that ActiveJob specifies the high-level Ruby interface, whereas every queue implementation manages its own internal structure.

When using other languages than Ruby, one obviously cannot use ActiveJob. Instead, I'd need to tie directly into the underlying implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants