구글링을 통해 아래 명령어를 통해 테스트 해봤는데
결과 값을 어떻게 보는지까지는 알수가 없어~
문의 한번 드려보아요!~
정확한 통계는 아니겠지만 대략 동접이 얼마나 가능한건지 궁금합니다.
ab -n 500 -c 100 https://tvonair.co.kr/
Server Software: nginx
Server Hostname: tvonair.co.kr
TLS Server Name: tvonair.co.kr
Document Path: /
Document Length: 48340 bytes
Concurrency Level: 100
Time taken for tests: 4.503 seconds
Complete requests: 500
Failed requests: 0
Total transferred: 24627500 bytes
HTML transferred: 24170000 bytes
Requests per second: 111.03 [#/sec] (mean)
Time per request: 900.652 [ms] (mean)
Time per request: 9.007 [ms] (mean, across all concurrent requests)
Transfer rate: 5340.64 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 22 43.4 1 148
Processing: 53 803 194.3 880 954
Waiting: 8 800 194.0 877 952
Total: 55 825 173.2 883 1051
Percentage of the requests served within a certain time (ms)
50% 883
66% 901
75% 914
80% 919
90% 932
95% 944
98% 980
99% 1014
100% 1051 (longest request)
ab -n 1000 -c 100 https://tvonair.co.kr/
Server Software: nginx
Server Hostname: tvonair.co.kr
Server Port: 443
TLS Server Name: tvonair.co.kr
Document Path: /
Document Length: 48340 bytes
Concurrency Level: 100
Time taken for tests: 8.905 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 49255000 bytes
HTML transferred: 48340000 bytes
Requests per second: 112.29 [#/sec] (mean)
Time per request: 890.521 [ms] (mean)
Time per request: 8.905 [ms] (mean, across all concurrent requests)
Transfer rate: 5401.40 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 11 31.6 1 147
Processing: 33 843 142.3 882 939
Waiting: 7 840 141.9 877 939
Total: 35 854 126.0 884 1050
Percentage of the requests served within a certain time (ms)
50% 884
66% 893
75% 902
80% 907
90% 915
95% 923
98% 930
99% 979
100% 1050 (longest request)
현재 서버는 1 CPU 1024MB Memory 사용중입니다.
실제 접속자들은 ab처럼 무식하게 새로고침만 하지 않기 때문에 무의미한 결과입니다.
마트에 고릴라 10마리를 풀어놓고 다 굶어죽을 떄까지 며칠 동안 먹고 살 수 있는지 봐서
그 마트에 있는 음식이 총 몇인분인지 측정하려는 거죠. 사람과 고릴라는 먹는 것이 다른데....