stvn has asked for the wisdom of the Perl Monks concerning the following question:

I have been working on a quick and dirty load testing script using LWP::UserAgent, LWPx::TimedHTTP and Parallel::ForkManager. So far it seems to be working out well, however, I am a little baffled by some of the results I am getting from LWPx::TimedHTTP, so I thought I would ask the monastary and see what people knew.

The docs for LWPx::TimedHTTP show 4 values you can query about your timed request.

  1. Client-Request-Connect-Time - The time it took to connect to the remote server
  2. Client-Request-Transmit-Time - The time it took to transmit the request
  3. Client-Response-Server-Time - Time it took to respond to the request
  4. Client-Response-Receive-Time - Time it took to get the data back
All my values seem pretty normal (less than a second), except for the occasionally very long times from Client-Request-Transmit-Time. I am seeing like 100+ seconds for some of these, the other values for that particular page test are less than a second each. I am wondering why such a dramatic skew in one phase of the transaction would not show in the other phases? Could this just be network interference? Is it just a traffic jam leaving my network card? Could LWPx::TimedHTTP be giving me incorrect numbers? Any thoughts?

-stvn
  • Comment on LWP::UserAgent & LWPx::TimedHTTP Question