You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
sonus21
changed the title
Suggest an idea for this project
Even distribution of messages at consumer level?
Dec 15, 2022
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?
The text was updated successfully, but these errors were encountered: