Webサーバーの負荷テスト

abとは何かというと、apacheに標準でついてくる負荷テストツールの名前。apacheが入っている環境であれば、まず間違いなく入っているはず。

(Via 404 Blog Not Found:tips – Webサーバーの負荷テストならまずab.)

アメブロには負けるけど、まずまずの結果かな。

$ ab -k -c4 -n 100 http://appling.jp/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking appling.jp (be patient).....done
Server Software:        Apache/1.3.41
Server Hostname:        appling.jp
Server Port:            80
Document Path:          /
Document Length:        9067 bytes
Concurrency Level:      4
Time taken for tests:   2.840 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Keep-Alive requests:    96
Total transferred:      937420 bytes
HTML transferred:       906700 bytes
Requests per second:    35.21 [#/sec] (mean)
Time per request:       113.594 [ms] (mean)
Time per request:       28.398 [ms] (mean, across all concurrent requests)
Transfer rate:          322.36 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    4  14.0      0      70
Processing:    69  108  43.3     93     291
Waiting:       49   71   7.6     73      90
Total:         69  112  56.8     93     352
Percentage of the requests served within a certain time (ms)
  50%     93
  66%     93
  75%     93
  80%    106
  90%    132
  95%    292
  98%    339
  99%    352
 100%    352 (longest request)

コメントする

メールアドレスが公開されることはありません。 が付いている欄は必須項目です