r4 - 24 Mar 2006 - 00:55:09 - PeterThoenyYou are here: TWiki >  Codev Web > ModPerl > ApacheBenchmark
Tags:
performance 1 Add my vote for this tag, , create new tag

ab - Apache HTTP Server Benchmarking Tool

ab is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current Apache installation performs. This especially shows you how many requests per second your Apache installation is capable of serving. (from ab 2.0 documentation)

Documentation of ab utility:

-- Contributors: MartinCleaver, PeterThoeny

Discussions

Being somewhat of a Newbie, I did an extensive search for ab, ApacheBench, the Apache Benchmark program until I discovered that it was already on my RedHat 7.2 system. (/usr/sbin/ab - this is not in the path for normal users).

There is also a Windows version of the program available at: http://www.remotecommunications.com/apache/ab/

-- BjornGraabek - 07 Dec 2001

Find attached a quick guide to perform a benchmark from your machine against a apache web server.

Most useful arguments are:

  • -c -- number of concurrent clients
  • -n -- number of total requests
  • -C -- a cookie string
  • -A -- Authen info eg 'user:password'

Example:

/usr/local/apache/bin/ab -c 8 -n 100 -A 'guest:mypassword' -C "User=id&1234; Pref=lang&de" "www.myhost.com/twiki/bin/view/Main/WebHome"

-- WolfgangAlper - 24 Feb 2005

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo