|
Тема |
Re: Чудите ли се защо на руснаците им падат Булавите [re: croesus] |
|
Автор |
DoubleTalkingJive (Magnifico) |
|
Публикувано | 09.03.12 13:46 |
|
|
Ако имаш в предвид nginx - току що направих сравнение. От около 6-7 години си пиша application server и се оказа че при сервиране на статични страници съм в ПЪТИ по-бърз от ngnix. За да е честно му изключих access_log.
Ето статистиката:
D:\Tools\bench>echo Tesing ngix with access_log off
Tesing ngix with access_log off
D:\Tools\bench>ab -k -n 1000000 -c 16 http://127.0.0.1/bench.txt
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)
Server Software: nginx/1.1.16
Server Hostname: 127.0.0.1
Server Port: 80
Document Path: /bench.txt
Document Length: 176 bytes
Concurrency Level: 16
Time taken for tests: 221.780 seconds
Complete requests: 1000000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 990008
Total transferred: 392950040 bytes
HTML transferred: 176000000 bytes
Requests per second: 4508.97 [#/sec] (mean)
Time per request: 3.548 [ms] (mean)
Time per request: 0.222 [ms] (mean, across all concurrent requests)
Transfer rate: 1730.27 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 1
Processing: 0 4 0.9 3 21
Waiting: 0 4 0.9 3 21
Total: 0 4 0.9 3 21
WARNING: The median and mean for the processing time are not within a normal deviation
These results are probably not that reliable.
WARNING: The median and mean for the waiting time are not within a normal deviation
These results are probably not that reliable.
WARNING: The median and mean for the total time are not within a normal deviation
These results are probably not that reliable.
Percentage of the requests served within a certain time (ms)
50% 3
66% 4
75% 4
80% 4
90% 4
95% 6
98% 7
99% 7
100% 21 (longest request)
D:\Tools\bench>echo Tesing jobo.tv
Tesing jobo.tv
D:\Tools\bench>ab -k -n 1000000 -c 16 http://127.0.0.1:8080/bench.txt
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)
Server Software:
Server Hostname: 127.0.0.1
Server Port: 8080
Document Path: /bench.txt
Document Length: 176 bytes
Concurrency Level: 16
Time taken for tests: 55.077 seconds
Complete requests: 1000000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 1000000
Total transferred: 378000606 bytes
HTML transferred: 176000000 bytes
Requests per second: 18156.55 [#/sec] (mean)
Time per request: 0.881 [ms] (mean)
Time per request: 0.055 [ms] (mean, across all concurrent requests)
Transfer rate: 6702.33 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 1
Processing: 0 1 0.3 1 3
Waiting: 0 1 0.4 1 3
Total: 0 1 0.3 1 3
Percentage of the requests served within a certain time (ms)
50% 1
66% 1
75% 1
80% 1
90% 1
95% 1
98% 1
99% 2
100% 3 (longest request)
Знам че ще бъда порицан за това, сори за което
|
| |
|
|
|