|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Subscriber over WAN - performance |
« View previous topic :: View next topic » |
Author |
Message
|
jljunk |
Posted: Fri Mar 22, 2013 1:07 am Post subject: Subscriber over WAN - performance |
|
|
Newbie
Joined: 21 Mar 2013 Posts: 2
|
Got a broker queue with a single client subscriber app.
Client and Broker are separated across the WAN.
Client is Java and we're using JMS.
What if anything can we do to improve the consumption rate by the consumer ie client throughput.
We cannot influence the size of the messages arriving at the broker from the publisher as we are not in control of the app publishing to the queue.
We are seeing that the avg time to consume a single message is approximately the round tip time of the network.
We interpret this to mean that each message consumption does a round trip to the broker - same results in async and sync modes.
Does MQ support any optimisation options for slow networks?
I understand that some messaging products have an prefetch so that a single client side consume actually pulls a block of messages across the wire from the broker so that the round trips are reduced. Essentially a form of pipelining.
One option we have considered is putting a proxy closer to the broker and have it provide the batching/prefetch for us and possibly use a different protocol between the proxy and the client if necessary.
We would rather stay all MQ if possible - not least because this approach means more hardware and monitoring etc.
Thoughput is important to us not latency per message.
?? Is it possible to configure the broker to repackage blocks of messages in its queue into a bigger less granular package? Its the RTT that's the biggest killer for us. Less RT = better throughput.
Advice appreciated. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Mar 22, 2013 9:09 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Typically what you'd do is just create a qmgr local to the client app and let that handle the WAN latency - the channel would handle batching/etc.
MQ v7.0.1 and later include readahead options, but I don't know if that's available with JMS. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Mar 22, 2013 9:40 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
mqjeff wrote: |
MQ v7.0.1 and later include readahead options, but I don't know if that's available with JMS. |
Read-ahead is for non-persistent messages. The presence of a persistent message stops the read-ahead function. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
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
|
|
|
|