Linux Today: Linux News On Internet Time.





More on LinuxToday


Using 'ab', ApacheBench to test Web Server Performance

Apr 10, 2009, 20:03 (0 Talkback[s])

WEBINAR: On-demand Event

Replace Oracle with the NoSQL Engagement Database: Why and how leading companies are making the switch REGISTER >

"This tool is of course aimed at testing Apache servers, however it can be used on others.

"Usage
Usage is rather simple. At it’s core, the amount of requests to complete and the url to test are required. On top of this you can inform the application to carry out more than one request at a time, as show in the second example.

$ ab -n 100 http://domain/
$ ab -n 100 -c 3 http://domain/

Some Results

"These are the results I gained from running this against the server behind this, testing using 3 concurrent connections and 100 requests:"

Complete Story

Related Stories: