|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Balancing of message to two MDBs |
« View previous topic :: View next topic » |
Author |
Message
|
dtauzell |
Posted: Wed Dec 17, 2008 12:54 pm Post subject: Balancing of message to two MDBs |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Dec 17, 2008 1:03 pm Post subject: |
|
|
 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 |
|
 |
dtauzell |
Posted: Wed Dec 17, 2008 1:58 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Dec 17, 2008 2:02 pm Post subject: |
|
|
 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 |
|
 |
dtauzell |
Posted: Wed Dec 17, 2008 2:03 pm Post subject: |
|
|
Apprentice
Joined: 23 May 2002 Posts: 37
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|