logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



ab.exe - Benchmarking your Apache

 
Post new topic   Reply to topic    Apache Forum Index -> Apache Webmaster Tools & Utilities



View previous topic :: View next topic  
Author Message
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2580
Location: Hilversum, NL, EU

PostPosted: Fri 07 Jul '06 12:42    Post subject: ab.exe - Benchmarking your Apache Reply with quote

A lot Apacharians overlook the little nifty Benchmarking tool "ab.ex" which is included in the Apache binaries.

Run ../apache2/bin/ab.exe in a DOS box.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Fri 07 Jul '06 12:47    Post subject: Reply with quote

There are missing some paratmeters?
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Sat 08 Jul '06 14:29    Post subject: Reply with quote

Code:
ab.exe -n 250 -c 15 http://127.0.0.1/

Do a total of 250 resuest 15 at the same to localhost

Code:
ab.exe -n 250 -c 15 -k http://127.0.0.1/

Do a total of 250 resuest 15 at the same to localhost while keep-alive is on

Code:
ab.exe -n 250 -c 15 -H "Accept-Encoding: gzip;" http://127.0.0.1/

Same as first one but it make apache pass the request to mod_deflate if its avaible

ApacheMon (see utilities section) has a handy GUI for this found onder: TrayIcon->Tools->Apache Benchmark

It allows to enter the number of request, the concurent request, compression, even a Authentication header.
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache Webmaster Tools & Utilities
Page 1 of 1