Sorry maybe I'm explaining it wrong :-)
Basically, my server is sending back a large document when the client initiates a request, and I want to see how long it takes for the document to be sent from the server to the client. If I had access to the client it would be simple enough to take the time that the server starts sending the document and the time the client finishes receiving it, not bad. But, since I don't have access to the client, on the AxisEngine.send() I want to be able to time how long it takes to send the document back from the server to the client but only do the time measurements on the server itself. Are there hooks to do this in Axis2? I thought that I could do this with handlers in the OutFlow phase, but I can't find out how to create a "post-send" handler. Is that possible? Did I just make this more confusing? :-) Roshan Punnoose Phone: 301-497-6039 ________________________________ From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Sent: Monday, January 15, 2007 10:37 AM To: [email protected] Subject: Re: [Axis2] Performance times Seems possible???, I'm sorry Roshan, but I don't get it. Michele On 15 Jan 2007, at 15:27, Punnoose, Roshan wrote: 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] <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]
