Software to determine what pages generate greatest load?
Moderator: General Moderators
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Software to determine what pages generate greatest load?
Is there a program that can help me determine what pages I have written generate the heaviest amounts of server load? I want to somehow emulate how X number of page requests a second can effect server load if I make small changes to code. It would be really interesting and help me focus and determining what I need to deal with.
- Peter Anselmo
- Forum Commoner
- Posts: 58
- Joined: Wed Feb 27, 2008 7:22 pm
Re: Software to determine what pages generate greatest load?
Have you played around with Apache Bench? You use it by calling "ab" at the command line on a machine with apache installed. It'll stress test any server you point it at, and give lots of nice stats about pages load times. It has ample options too, you can test based on a time limit, or number of requests, and even do it through multiple simultaneous connections. You can also specify what particular pages you want to request. It's your own mini-dos attack tool. Lots of fun!emulate how X number of page requests a second can effect server load
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: Software to determine what pages generate greatest load?
Awesome, I found the executable in Apache's bin directory and will mess around with it after I get the JOIN working that you suggested in the other thread, thanks again!
Re: Software to determine what pages generate greatest load?
JMeter lets you autonomously navigate, refresh, submit, etc. etc.
-
jerominejuliana
- Forum Newbie
- Posts: 2
- Joined: Tue Jan 20, 2009 3:19 am
Re: Software to determine what pages generate greatest load?
The Best Method
The method that may be the hardest/most expensive to implement, scanning server logs, may also be the most accurate. It takes sophisticated software to scan the logs and extract only pertinent information.
The PHP and SSI methods are also highly accurate — depending on your definition of page load.
If your definition of page load says a page load is counted only when the page is completely loaded, then the image launch method may be best.
The method that may be the easiest to implement is also the least accurate. A small percentage of browsers have JavaScript turned off, making this easy method less accurate by that percentage than an image-launched counter might be.
The JavaScript method may be easiest because no attention needs be paid regarding special file name extensions for web pages, unlike SSI and PHP. And the counter script does not need to reply with an image, like an image-launched counter script would need to.
The method that may be the hardest/most expensive to implement, scanning server logs, may also be the most accurate. It takes sophisticated software to scan the logs and extract only pertinent information.
The PHP and SSI methods are also highly accurate — depending on your definition of page load.
If your definition of page load says a page load is counted only when the page is completely loaded, then the image launch method may be best.
The method that may be the easiest to implement is also the least accurate. A small percentage of browsers have JavaScript turned off, making this easy method less accurate by that percentage than an image-launched counter might be.
The JavaScript method may be easiest because no attention needs be paid regarding special file name extensions for web pages, unlike SSI and PHP. And the counter script does not need to reply with an image, like an image-launched counter script would need to.
Last edited by pickle on Wed Feb 25, 2009 10:12 am, edited 1 time in total.
Reason: Removed advertisement
Reason: Removed advertisement
Re: Software to determine what pages generate greatest load?
Very useful information for me. Thanks
Re: Software to determine what pages generate greatest load?
JMeter or Load Runner will hwelp you iuf you means the perfomance testing