Sych
Новичок
Apache Benchmark - интересные результаты
Имеется некоторое приложение - нужно протестировать его работу и быстродействие
пускается ab -n 100 -c 3 http://url/script.php
Вопрос какого бенчмарк говорит что >90% запросов failed хотя на самоме деле их гараздо меньше или вообще нет???
Имеется некоторое приложение - нужно протестировать его работу и быстродействие
пускается ab -n 100 -c 3 http://url/script.php
Код:
---
GET /exec/rtn_test.php HTTP/1.0
User-Agent: ApacheBench/1.3d
Host: ******
Accept: */*
LOG: Response code = 200
LOG: Response code = 200
LOG: Response code = 200
LOG: Response code = 200
LOG: Response code = 200
.....
тут много 200 ОК
.....
..done
Server Software: Apache/1.3.34
Server Hostname: *****
Server Port: 80
Document Path: /exec/rtn_test.php
Document Length: 60 bytes
Concurrency Level: 5
Time taken for tests: 17.850 seconds
Complete requests: 100
Failed requests: 93
(Connect: 0, Length: 93, Exceptions: 0)
Broken pipe errors: 0
Total transferred: 21840 bytes
HTML transferred: 6000 bytes
Requests per second: 5.60 [#/sec] (mean)
Time per request: 892.50 [ms] (mean)
Time per request: 178.50 [ms] (mean, across all concurrent requests)
Transfer rate: 1.22 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.4 0 5
Processing: 13 858 689.1 756 3100
Waiting: 12 858 689.1 755 3100
Total: 13 858 689.1 756 3100
Percentage of the requests served within a certain time (ms)
50% 756
66% 1098
75% 1249
80% 1417
90% 1698
95% 2160
98% 2992
99% 3100
100% 3100 (last request)