Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Using LWP: is there a way to get the server response time?

by Tomte (Priest)
on May 11, 2007 at 11:26 UTC ( #614875=note: print w/replies, xml ) Need Help??

in reply to Using LWP: is there a way to get the server response time?

If raw performance (time from "request-came-in" to "about-to-start-sending") is what you want to measure, in my humble opinion you should measure that on the server itself, not the client, otherwise the network will allways interfere with your measurements - in our current projects we send an X-header holding the processing time: X-Time: 0.017s


An intellectual is someone whose mind watches itself.
-- Albert Camus

Replies are listed 'Best First'.
Re^2: Using LWP: is there a way to get the server response time?
by Anonymous Monk on May 11, 2007 at 13:34 UTC
    Mmmh. So is a http response alsways a combination of header+response and I have no handle to get into the data-chunks (and their timing) received by LWP::UserAgent?

    I am not able to get on the server side. So my only chance is to calculate: ((overall-response-time / transferred-bytes) / my-network-throughput-capacity) or something like that to get a hint of the time used to prepare the response on the server side?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://614875]
Discipulus will now go afk due to a splunk refreshment session..
[choroba]: Pippy loves Splunk

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2017-02-21 08:25 GMTServer Error (Error ID 7820012c60600)

An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.

Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (308 votes). Check out past polls.