|laziness, impatience, and hubris|
testing connection speedsby jimbus (Friar)
|on Aug 29, 2006 at 15:13 UTC||Need Help??|
jimbus has asked for the
wisdom of the Perl Monks concerning the following question:
I work for a small cellco and need to prove that our GPRS (cellular modem) connection speeds (to the internet) are what we say they are. I'd like to set up a client that will connect and access a site on our network, then use a server side program to measure and report down and upload speeds. We're buying a cheap, flash-base speed test product for field testers and remote management to use for testing because it does the job and it's pretty... which is important for one of the two listed groups... but I need something a bit more direct and perl-oriented to do the automated testing.
I'm thinking I can pretty easily figure the DL speed from the server. Just put some known sized images on a web page and hopefully there is some hooks in apache/mod_perl to see hwo much is downoaded at fixed intervals and then do the math, but I'm not sure how to figure upload speeds just yet. Can anyone give me advise on how to accomplish this or point me at something similar to use a an example?
--Jimbus aka Jim Babcock
Wireless Data Engineer and Geek Wannabe