ApacheBench

1 개요[ | ]

ApacheBench (ab)
아파치벤치
  • 웹서버 성능측정 프로그램
  • 아파치 또는 다른 웹서버에 사용가능

2 실행예시[ | ]

웹요청 30회 테스트
[root@zetawiki ~]# ab -n 30 http://eqcode.com/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking eqcode.com (be patient).....done


Server Software:        Apache/2.2.3
Server Hostname:        eqcode.com
Server Port:            80

Document Path:          /
Document Length:        0 bytes

Concurrency Level:      1
Time taken for tests:   3.392741 seconds
Complete requests:      30
Failed requests:        0
Write errors:           0
Non-2xx responses:      30
Total transferred:      12540 bytes
HTML transferred:       0 bytes
Requests per second:    8.84 [#/sec] (mean)
Time per request:       113.091 [ms] (mean)
Time per request:       113.091 [ms] (mean, across all concurrent requests)
Transfer rate:          3.54 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:   110  112   3.1    112     128
Waiting:      110  112   3.0    112     127
Total:        110  112   3.1    112     128

Percentage of the requests served within a certain time (ms)
  50%    112
  66%    112
  75%    113
  80%    113
  90%    114
  95%    114
  98%    128
  99%    128
 100%    128 (longest request)
웹요청 30회 테스트 (요청을 동시에 10개씩 보냄)
[root@zetawiki ~]# ab -n 30 -c 10 http://eqcode.com/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking eqcode.com (be patient).....done


Server Software:        Apache/2.2.3
Server Hostname:        eqcode.com
Server Port:            80

Document Path:          /
Document Length:        0 bytes

Concurrency Level:      10
Time taken for tests:   0.650675 seconds
Complete requests:      30
Failed requests:        0
Write errors:           0
Non-2xx responses:      30
Total transferred:      12540 bytes
HTML transferred:       0 bytes
Requests per second:    46.11 [#/sec] (mean)
Time per request:       216.892 [ms] (mean)
Time per request:       21.689 [ms] (mean, across all concurrent requests)
Transfer rate:          18.44 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:   114  199  57.2    192     355
Waiting:      114  198  56.9    192     354
Total:        114  199  57.2    192     355

Percentage of the requests served within a certain time (ms)
  50%    192
  66%    217
  75%    225
  80%    237
  90%    306
  95%    307
  98%    355
  99%    355
 100%    355 (longest request)

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}