rqueue
rqueue copied to clipboard
Even distribution of messages at consumer level?
Lets say we have 4 producer (of same instance) who are en-queuing messages to a queue. There are 4 consumer (of same instance) with concurrency limit set to 20-25 in each consumer @RqueueListener settings. Now is it guaranteed that all consumers will get messages evenly? Or is there any way to achieve such goal so that all consumers get messages evenly from the queue like round-robin process?
I should not claim, it will distribute the load equally at 100% but IMO it should be equally distributed with a small delta between each consumer. You can verify this by doing a counter at the hour level to see what's the different or at what percentage of traffic is not balanced.