Do jobs with priority set get executed right away? #3176
Unanswered
s-lukashenka-micoworks
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
The priority determines the order in which the jobs are picked from the queue. The highest priority you can have in BullMQ is no priority, so a job with a priority larger than 0 will always be picked up from the queue after the jobs that have no priorities. If jobs are being processed slowly the question is if they are being processed slowly by the process function that you provided (maybe the operation is slow?), or if the jobs are being picked up slowly from the queue? but in any modern machine and without many workers it is easy to achieve 10k jobs per second. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Let's say I have enqueued a decent amount of jobs without any priority settings, and they are being processed rather slowly. If I put a job with a (higher) priority will it be picked right away over the already enqueued jobs?
Beta Was this translation helpful? Give feedback.
All reactions