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 » IBM MQ Java / JMS » Balancing of message to two MDBs

Post new topic  Reply to topic
 Balancing of message to two MDBs « View previous topic :: View next topic » 
Author Message
dtauzell
PostPosted: Wed Dec 17, 2008 12:54 pm    Post subject: Balancing of message to two MDBs Reply with quote

Apprentice

Joined: 23 May 2002
Posts: 37

I have two applications servers. Each one has an MDB which listens on queue Q1 on queue manager QM1:

Server 1 Server 2
MDB MDB
-----------
|
|
|
Server 3
QMGR1:
Q1


Server1 and Server2 are similar servers and are running the same application. I would expect them to process similar numbers of messages. However, Server 1 always processes about two times as many messages as Server 2 for any given time period.

I'm wondering if this would have anything to do with MQ? Or must it be something with my application or with the servers?

Any advice is appreciated,
Dave
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 17, 2008 1:03 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

server 1 and server 2 are getting the messages on a first come first serve basis. Now it could be that the processing time of the messages is different on server 1 and on server 2. There are a lot of factors in play:
  • network latency
  • network bandwidth
  • time it takes to process on each appserver
  • luck of the draw: When QM1 is ready to serve a message, which of server1/server2 happens to be first in line to get that message?

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
dtauzell
PostPosted: Wed Dec 17, 2008 1:58 pm    Post subject: Reply with quote

Apprentice

Joined: 23 May 2002
Posts: 37

Thanks for the info. That is what I suspected. Would MQ Cluster help me out in any way?

-Dave
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 17, 2008 2:02 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

dtauzell wrote:
Thanks for the info. That is what I suspected. Would MQ Cluster help me out in any way?

-Dave

Read the cluster manual ; You'd need at least 2 qmgrs. Now if you have multiple clients consuming from each, you would still be up against the same situation for each.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
dtauzell
PostPosted: Wed Dec 17, 2008 2:03 pm    Post subject: Reply with quote

Apprentice

Joined: 23 May 2002
Posts: 37

Thanks again.

-Dave
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 » IBM MQ Java / JMS » Balancing of message to two MDBs
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.