Author |
Message
|
silentflute |
Posted: Tue Jan 04, 2005 10:23 am Post subject: Channel Security Exit Time |
|
|
 Apprentice
Joined: 14 Jul 2004 Posts: 32
|
Fellow MQ'ers
In a WMQ trace, can the time that a channel spens in a channel security exit been seen?
The reason that I'm asking is that I would to know how long a client server connection channel spends in the channel security exit.
Is there another way to obtain this information.
Thanks! |
|
Back to top |
|
 |
kingsley |
Posted: Tue Jan 04, 2005 10:27 am Post subject: |
|
|
Disciple
Joined: 30 Sep 2001 Posts: 175 Location: Hursley
|
my understanding is , the channel gets initiated by using the channel parameters for exits. It initalizes the exits ( like the constructor for a class)
It does'nt use the exit, unless the message comes in. If you put the trace with in the exit, it does'nt report unless the message comes in. But may be you can the initialization time but nothing beyond it.
The initialization does'nt take much time if everything is within the same corporate network (Distance does'nt matter) |
|
Back to top |
|
 |
silentflute |
Posted: Tue Jan 04, 2005 10:31 am Post subject: Channel Security Exit Time |
|
|
 Apprentice
Joined: 14 Jul 2004 Posts: 32
|
kingsley,
I started the trace for the queue manager and then ran a JAVA program that uses the client server connection channel in question and put 10 messages.
After looking at the traces, I could find no trace entries for the channel exit. I'm not sure that I'm looking in the correct area.
Thanks! |
|
Back to top |
|
 |
SAFraser |
Posted: Tue Jan 04, 2005 11:45 am Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
When we first initiated channel exits, one my of my teammates did a test where he put thousands of messages without the exit and then the same messages with the exit so we could see the performance hit. It was nominal. It wasn't very scientific, but it made us feel better about the exits. So that is one way you might try to determine a channel exit time.
Shirley |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Jan 05, 2005 12:51 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
In a trace, you should be able to see an entry rriCALL_EXIT whenever a channel exit of any flavour is called, and the corresponding return from that exit. The timestamps in the trace should then show the time inside the exit.
However, running with trace on is a very poor way to collect timing information, because of the slowdown caused by the trace, perhaps to only 20% of the normal speed. I would have though that adding timestamps to the security exit and doing your own logging would be a better solution. |
|
Back to top |
|
 |
silentflute |
Posted: Wed Jan 05, 2005 4:39 am Post subject: Channel Security Exit Time |
|
|
 Apprentice
Joined: 14 Jul 2004 Posts: 32
|
Nigelg,
Thanks for the reply and the information.
And I have started putting timestamps into the exit for performance measuring. Once I have the values, I will just comment out the appropriate code.
Thanks! |
|
Back to top |
|
 |
|