"ApacheBench"의 두 판 사이의 차이

잔글 (로봇: 자동으로 텍스트 교체 (-[root@jmnote +[root@zetawiki))
 
(사용자 2명의 중간 판 5개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
;ApacheBench; ab
;ApacheBench (ab)
;아파치벤치
;아파치벤치
*웹서버 성능측정 프로그램
*웹서버 성능측정 프로그램
7번째 줄: 7번째 줄:
==실행예시==
==실행예시==
;웹요청 30회 테스트
;웹요청 30회 테스트
<source lang='cli'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# ab -n 30 http://eqcode.com/
[root@zetawiki ~]# ab -n 30 http://eqcode.com/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
53번째 줄: 53번째 줄:
   99%    128
   99%    128
  100%    128 (longest request)
  100%    128 (longest request)
</source>
</syntaxhighlight>


;웹요청 30회 테스트 (요청을 동시에 10개씩 보냄)
;웹요청 30회 테스트 (요청을 동시에 10개씩 보냄)
<source lang='cli'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# ab -n 30 -c 10 http://eqcode.com/
[root@zetawiki ~]# ab -n 30 -c 10 http://eqcode.com/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
102번째 줄: 102번째 줄:
   99%    355
   99%    355
  100%    355 (longest request)
  100%    355 (longest request)
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[웹사이트 성능 측정]]
* [[웹사이트 성능 측정]]
*[[아파치]]
* [[아파치]]
*[[curl]]
* [[curl]]
*[[wget]]
* [[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 }}