Posted: Fri May 16, 2003 12:13 pm Post subject: TopicPublisher.publish() Performance
Novice
Joined: 18 Dec 2001 Posts: 11
Hi.
We are currently using MQSeries v5.2 with JMS patch to do pub/sub.
Recently we have been focusing on performance in our application and in profiling our system, we found the the TopicPublisher.publish() method is our greatest bottleneck. In recent tests, we found that it takes up to 2 seconds to publish one TextMessage (avg size of the message is about 4Kb). This 2 second avg is the time it takes for the TopicPublisher.publish() method only. It does not include the JNDI lookups, etc.
I assume that all this publish() method does is sends the message to the broker. It is not encapsulate the logic the broker includes to distribute the message to all the subscription queues.
Is there anything we can do to increase performance for jms pub/sub?
thx.
--SLey
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