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 » Time taken to recieve the message from queue

Post new topic  Reply to topic
 Time taken to recieve the message from queue « View previous topic :: View next topic » 
Author Message
prashant
PostPosted: Tue Jun 17, 2003 11:32 pm    Post subject: Time taken to recieve the message from queue Reply with quote

Novice

Joined: 01 Aug 2002
Posts: 17

Hi
I am using a JMS client to recieve the message from MQSeries queue.
When I try to figure out the time taken in recieving the message from queue
(i.e. the time taken in execution of receiver.receiveNoWait() only)
, it turns out to be 20 to 23ms. Similarly in closing the receiver(receiver.close()) time taken turns out to be the order of 15 to 16ms.

I have calculated the time using System.currentTimeMillis().

Can somebody pls tell me whether this time is ok or something can be doen to improve the timings?

Thanks
Prashant
Back to top
View user's profile Send private message
leongor
PostPosted: Wed Jun 18, 2003 1:03 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

In the underlying transport MQ is doing :

MQCONN - connects to Qmgr
most expensive operation + authorization check

MQOPEN - opens a queue
also pretty heavy operation + authorization check

MQGET - get a message
about 5 ms ( depends on hardware )

Try to get more messages to see real MQGET performance you have.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
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 » Time taken to recieve the message from queue
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.