homepage Welcome to WebmasterWorld Guest from 50.17.27.205
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
ideas for hosting peformance test
hosting peformance check script
stevenjm




msg:3932035
 1:18 pm on Jun 12, 2009 (gmt 0)

Hi, i'm wanting to create a fairly comprehensive hosting test script for checking the speed, quality etc of a given host by inputing url into form.

Obviously ping and the basics would be fairly simple but i'm also looking for unique ideas i can use in the script for running tests on the host? I can't run a script on the host's to test its performance so what other alternative things could i possibly do?
I was thinking of using apache response codes ( or perhaps this is what ping already uses?) and somehow sending a huge request to the server which would generate 1000's of response codes and timing this and using a benchmark to get a rough idea of performance and other figures such as comparing it to ping speed to get an idea of processing power and speed?

I was thinking of using 404 pages for tests but they can vary from server to server.

I'm just guessing at this stage but really looking for some ideas on how to go about this (how i could measure performance in some way from a remote host) Much appreciate and feedback or ideas.

thanks heaps, by the way free script to anybody who gives me useful info or help hehe

 

stevenjm




msg:3932053
 1:50 pm on Jun 12, 2009 (gmt 0)

So far i'm leaning towards getting the script to load index page of target host, measure its full size and then reload it a certan amount of times. calculate the times it takes too load based upon its size and benchmarks, take into account the ping speed and come to a performance figure that way. any feedback?

Obviously this idea has its own problems as in far as some index pages are dynmaic and rewritten to .html so processing engines for those will interfere with a reliable figure. Perhaps using an image from the index page? ( not so good for index pages which have no image or graphic)

nick279




msg:3932210
 4:26 pm on Jun 12, 2009 (gmt 0)

stevenjm

I'd say take a step back, and perhaps come up with ten measurables that you know will work. Instead of trial and error, maybe a more structured approach could help?

- GD (create large images)
- Large mysql query
- Read/parse large file (same on all servers)
- Traceroute
- Recursion (try executing function until overloads :) )

etc

stevenjm




msg:3932481
 1:53 am on Jun 13, 2009 (gmt 0)

Thanks but this is why I am looking for novel ideas. The script will not have access to GD or MYSQL etc. It will be hosted at a remote location and just be availabl free as a tool for people to get an idea of how well a particular host performs.

any ideas?

stevenjm




msg:3933082
 4:03 pm on Jun 14, 2009 (gmt 0)

Anybody? Ok, what ways are there to load a server from a remote location when no acces to server other than "user" is available. I was thinking of something similar to method used in denial of service attack only using requests that will return a response code and not actually have to load any particular page. Feedback? could this be done?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved