Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Package:Apache-tools

From Funtoo
Revision as of 08:14, December 26, 2014 by Threesixes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Apache-tools

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


Apache-tools is a collection of administration, and security scripts. Apache-tools includes web server monitoring, statistics, log analysis, DoS detection, and defense.

root # emerge apache-tools

Apache benchmark tests webserver performance. Ab will push bits down the line, and render pages rather than simply pull static html. Most web site performance auditing sites, and search engines run 50 requests concurrently for testing. This polite test will show 5 requests with the concurrency level of 5 hits at once:

root # ab -n 5 -c 5 http://www.funtoo.org/Welcome
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.funtoo.org (be patient).....done


Server Software:        nginx
Server Hostname:        www.funtoo.org
Server Port:            80

Document Path:          /Welcome
Document Length:        32731 bytes

Concurrency Level:      5
Time taken for tests:   0.419 seconds
Complete requests:      5
Failed requests:        0
Total transferred:      165849 bytes
HTML transferred:       163655 bytes
Requests per second:    11.94 [#/sec] (mean)
Time per request:       418.790 [ms] (mean)
Time per request:       83.758 [ms] (mean, across all concurrent requests)
Transfer rate:          386.74 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       60   63   2.7     63      67
Processing:   300  317  23.3    314     356
Waiting:       78   92  10.6     96     105
Total:        361  380  24.0    378     419

Percentage of the requests served within a certain time (ms)
  50%    370
  66%    387
  75%    387
  80%    419
  90%    419
  95%    419
  98%    419
  99%    419
 100%    419 (longest request)