Author |
Message
|
jeevan |
Posted: Wed Oct 11, 2006 10:20 am Post subject: Finding response time in mq application |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Is there a supportpac /any other tool which find the reponse time in mq application.
The situation is like this:
my client has an application which pushes message received through webservices to mq queue. These messages are then transmitted to third party vender. These are the request message. The third party vendor then process these messages and send reply back to my client. As there are message pilling in queue, my client wants to see why it is slow and they also want to know how much time does a message take to be processed and get back to the reply queue. Is there any way to find out this?
thank in advance |
|
Back to top |
|
 |
Nigelg |
Posted: Thu Oct 12, 2006 12:00 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
No tool that I know of.
You could do it yourself...
Write timestamps to a log at each point, e.g. when the app puts a msg, when the channel sends a msg, when the channel receives a msg, and when the app reads the reply. The channel entries will have to be done by channel SND & RCV exits. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Oct 12, 2006 3:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
There are many factors involved in this. Sending msgs with delivery receipt and read receipts may help.
Basically you have to look at:
- Time sent
- time on xmitq
- time in channel
- time on receive queue
- time spent processing
- time on xmitq
- time in channel(receiving)
- time on receive queue
- time receiving (may be significant for large messages)
Enjoy finding a way to slice and dice all this.
May be you can accept just the difference between the send times. But this would mean that the server app has no backup in it's queue...
On the other hand it might as well just be a scaling problem, that is if there is no message affinity. If you have message affinity you are SOL. [/list] _________________ MQ & Broker admin |
|
Back to top |
|
 |
jeevan |
Posted: Thu Oct 12, 2006 4:25 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Thank you very much both of you - > fjb_saper and Nigelg for your input.
That was my understanding too. |
|
Back to top |
|
 |
zpat |
Posted: Thu Oct 12, 2006 4:30 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If the requestor program is waiting for the reply it could simply log the difference between the time the put was done and the time the reply message was received.
There are end-to-end transaction monitoring tools like Transaction Vision which may provide a drop in solution (at some cost). |
|
Back to top |
|
 |
|