ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Load balancing MQ Clients

Post new topic  Reply to topic
 Load balancing MQ Clients « View previous topic :: View next topic » 
Author Message
vshankar001
PostPosted: Mon Nov 03, 2008 11:34 am    Post subject: Load balancing MQ Clients Reply with quote

Newbie

Joined: 06 Feb 2003
Posts: 3

Hi:

I am wondering how to best go about designing this. I have a QM with a Queue defined on which two client applications are listening using the MQ Client. I'd like to load balance the messages across the two say 80% of messages get pulled by the first and 20% by the second. How would I do this using native MQ functionality without having to write something custom? Is anything even available out of the box? My goal is to not change the application putting the message if at all possible.

Any ideas will be much appreciated. I tried to find something about this on the forum but was unsuccessful.

Thanks.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Nov 03, 2008 12:02 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Not possible out of the box.

The MQ Clients will pull as fast as they can. They will race for each message assuming both are ready. There is no guarantee to the % each will win at the end of the day.

If you're app processed 1 message a second, and 1 message a minute arrived, its entirely possible that at the end of the day they each did 50%, or one did 100%.

As soon as queueing occurs, the load will become 50/50, assuming they perform eqally.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
vshankar001
PostPosted: Thu Nov 13, 2008 10:21 am    Post subject: Reply with quote

Newbie

Joined: 06 Feb 2003
Posts: 3

Thanks much!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Load balancing MQ Clients
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.