"ApacheBench"의 두 판 사이의 차이

 
(사용자 2명의 중간 판 11개는 보이지 않습니다)
1번째 줄: 1번째 줄:
;ab, ApacheBench
==개요==
;ApacheBench (ab)
;아파치벤치
;아파치벤치
*웹서버 성능측정 프로그램
*아파치 또는 다른 웹서버에 사용가능


==실행예시==
==실행예시==
<source lang='dos'>
;웹요청 30회 테스트
[root@jmnote ~]# ab http://jmnote.com/
<syntaxhighlight lang='console'>
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
[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 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/


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




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


20번째 줄: 24번째 줄:


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


Connection Times (ms)
Connection Times (ms)
               min  mean[+/-sd] median  max
               min  mean[+/-sd] median  max
Connect:       23  23   0.0     23     23
Connect:       0    0   0.0      0      0
Processing:  169 169   0.0   169     169
Processing:  110 112   3.1   112     128
Waiting:      169 169   0.0    169     169
Waiting:      110 112   3.0    112     127
Total:        192 192   0.0    192    192
Total:        110  112  3.1    112    128
</source>
 
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)
</syntaxhighlight>
 
;웹요청 30회 테스트 (요청을 동시에 10개씩 보냄)
<syntaxhighlight lang='console'>
[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)
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[아파치]]
* [[웹사이트 성능 측정]]
*[[curl]]
* [[아파치]]
*[[wget]]
* [[curl]]
* [[wget]]
* [[vegeta]]


[[분류: /usr/bin]]
[[분류: /usr/bin]]
[[분류: 리눅스 네트워크]]
[[분류: ApacheBench]]
[[분류: 성능]]

2022년 4월 27일 (수) 14:36 기준 최신판

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 }}