Replies: 1 comment
-
By the way, the implementation will generate a change in how FIFO queues worked. If the framework now sends the deduplicationId to SQS and you don't define the deduplicationId function in your jobs, a UUID will be sent making the default logic change. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
For SQS Fair Queues are supported now: #56763
I've been extending the queue system for redis to do something similar, in Redis I maintain
Contains all queues and groups that have active jobs
Contains the job count for each queue
Basically I have all queues like this:
<queue>:group:<groupId>
And whenever the worker for a queue with active group jobs needs to get a job from the queue, it randomly picks one of the active groupId's to make sure groups with a lot of jobs don't slow down the other groups.
Is this similar how the Fair queue system in SQS works? And is this something that could be considered to be added to the Laravel Redis queue system as well or is it too niche?
Beta Was this translation helpful? Give feedback.
All reactions