Right I understand where you are going with this. But on production we
have no control over our clients, let alone trying to get a time from
them when the stream is done; however, is there anyway to do this just
from the server? (Seems possible)

 

Roshan Punnoose

Phone: 301-497-6039

________________________________

From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 15, 2007 10:12 AM
To: [email protected]
Subject: Re: [Axis2] Performance times

 

Roshan,

 

if I well understand you have a client submitting a request and a server
sending a MTOM message as response. So, if you want to measure the time
you need to take a timestamp (T1) before the server sends the message
and take another one after the client has received it (T2, on the client
side).

 

 

Michele

 

On 15 Jan 2007, at 15:05, Punnoose, Roshan wrote:





In the Axis code, is it possible to have a post send handler? That way,
if I have a pre-send handler (which I can do), then I can save the time
there and then save the time in the post-send handler too. (I have seen
Post-Dispatch stages for the InFlow, but I'm not sure if that applies
for the OutFlow phase. Any ideas? (I don't have access to the client
side at all.)

 

Roshan Punnoose

Phone: 301-497-6039

________________________________

From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 15, 2007 9:58 AM
To: [email protected]
Subject: Re: [Axis2] Performance times

 

Roshan,

 

if the client and the server run on the same machine there are no
problems, otherwise - if you want a precise value - you have to
synchronize the clocks.

 

 

Michele

 

 

On 15 Jan 2007, at 14:15, Punnoose, Roshan wrote:






Is there anyway that I can time how long it takes to return a document
to the client? My server is returning an MTOM document and I want to
keep a log on how long it takes to send the document back to the client.

 

Roshan Punnoose

Phone: 301-497-6039

 

<Punnoose, Roshan.vcf>

---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]

 

<Punnoose, Roshan.vcf>

---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]

 

BEGIN:VCARD
VERSION:2.1
N:Punnoose;Roshan
FN:Punnoose, Roshan
ADR;WORK:;2115
LABEL;WORK:2115
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050413T183207Z
END:VCARD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to