Posted: Wed Mar 11, 2015 6:45 pm Post subject: Distribution Messages
Novice
Joined: 09 Apr 2013 Posts: 11
If MQ Clustering addresses the distribution of messages to input queues on multiple queue managers, what handles the distribution of messages to waiting MQ Get calls for applications running on multiple app servers? Would the load be distributed equally or not?
There's no guarantee that the queue manager will distribute messages evenly, and in some cases the queue manager will intentionally NOT spread messages evenly across consumers.
The most obvious example is when passing a non-persistent message to a waiting get (avoiding the queue), where the default behaviour is to try to keep a small number of consumers hot rather then distributing the messages across all consumers (trying to optimize things by keeping the working set smaller).
There's no guarantee that the queue manager will distribute messages evenly, and in some cases the queue manager will intentionally NOT spread messages evenly across consumers.
The most obvious example is when passing a non-persistent message to a waiting get (avoiding the queue), where the default behaviour is to try to keep a small number of consumers hot rather then distributing the messages across all consumers (trying to optimize things by keeping the working set smaller).
Thank you Andyh, very kind to help me understand it.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum