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

sub queues or queue groups #446

Open
dimonnwc3 opened this issue May 13, 2024 · 0 comments
Open

sub queues or queue groups #446

dimonnwc3 opened this issue May 13, 2024 · 0 comments

Comments

@dimonnwc3
Copy link

dimonnwc3 commented May 13, 2024

Let's say I have a queue "encode" which has long running tasks. Many users can submit many tasks. I want to load balance tasks between users, by e.g a special "group" key so that one user can't block others for a long time.

10:30 user A submits 10 "encode" tasks
10:31 user B submits 10 "encode" tasks
Then user B will wait for all 10 tasks from user A to finish <- I want to prevent this

here is an example of such feature in bullmq: https://docs.bullmq.io/bullmq-pro/groups

is this possible to do and how?

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

1 participant