ab - HTTP Benchmarking

Apache offers a very user friendly benchmarking tool called 'ApacheBench (ab)'. It's designed to give you an idea of how your current apache setup is performing and comes bundled with the standard Apache source distribution.

Commands to run...

Make 50 requests with a concurrency of rate of 5.

ab -n 50 -c 5 http://localhost/

Open 10 KeepAlive connections for 15 seconds.

ab -kc 10 -t 15 http://localhost/

Plus there are loads more to be found at http://httpd.apache.org/docs/2.0/programs/ab.html.

Results are fairly self explanatory and printed in a nice tabular format, these can then be used to optimise/fine-tune you server setup.

More from this section

RECENT PERSONAL WORK

AllTradeArt Case Study
Kwik Travel Case Study
Allotment Case Study
Revolutionshirts Case Study

RECENT ARTICLES

Import Error: No module named django.core.management

Installing and testing the Django Framework on my new mac I came acro... read more

Quick Note on Setting Up a Mail Server

Part of the basics when setting up a mail server but I needed to put ... read more

Microformats Creator Tool

"Microformats are a way of adding simple markup to human-readable... read more

Recursive Directory Listing

Nothing too fancy but a nice way of viewing a directory tree on your ... read more

CREDITS

powered by php-wax the php framework