Профіль

scientetik

scientetik

Україна, Київ

Рейтинг в розділі:

Останні статті

Свіже відео

apache1.3+php vs nginx+ php-fpm

  • 14.07.11, 18:32
Too many failed: so schema will be retested

Apache 1.3
Server Software:        Apache/1.3.42
Server Hostname:        xxxxx
Server Port:            80

Document Path:          /
Document Length:        33723 bytes

Concurrency Level:      1
Time taken for tests:   74.636 seconds
Complete requests:      1000
Failed requests:        954
   (Connect: 0, Length: 954, Exceptions: 0)
Broken pipe errors:     0
Total transferred:      33986646 bytes
HTML transferred:       33725646 bytes
Requests per second:    13.40 [#/sec] (mean)
Time per request:       74.64 [ms] (mean)
Time per request:       74.64 [ms] (mean, across all concurrent requests)
Transfer rate:          455.37 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     0    0.0      0     0
Processing:    71    74    3.6     73   134
Waiting:       71    74    3.6     73   133
Total:         71    74    3.6     73   134

Percentage of the requests served within a certain time (ms)
  50%     73
  66%     74
  75%     75
  80%     76
  90%     77
  95%     79
  98%     83
  99%     86
 100%    134 (last request)

Nginx

Server Software:        nginx/0.8.53
Server Hostname:        xxxxx
Server Port:            80

Document Path:          /
Document Length:        33716 bytes

Concurrency Level:      1
Time taken for tests:   72.505 seconds
Complete requests:      1000
Failed requests:        984
   (Connect: 0, Length: 984, Exceptions: 0)
Broken pipe errors:     0
Total transferred:      33930229 bytes
HTML transferred:       33728229 bytes
Requests per second:    13.79 [#/sec] (mean)
Time per request:       72.50 [ms] (mean)
Time per request:       72.50 [ms] (mean, across all concurrent requests)
Transfer rate:          467.97 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     0    0.0      0     0
Processing:    69    72    6.9     71   273
Waiting:       69    72    6.9     71   272
Total:         69    72    6.9     71   273

Percentage of the requests served within a certain time (ms)
  50%     71
  66%     71
  75%     72
  80%     73
  90%     75
  95%     77
  98%     82
  99%     84
 100%    273 (last request)


xCache vs APC

  • 28.12.10, 12:47
Вывод: те же яйца, только в профиль.

No cache:


Server Software:        Apache/1.3.42
Server Hostname:       xxx
Server Port:            80
Document Path:          /
Document Length:        29953 bytes
Concurrency Level:      50
Time taken for tests:   177.395 seconds
Complete requests:      3000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      91095078 bytes
HTML transferred:       90307641 bytes
Requests per second:    16.91 [#/sec] (mean)
Time per request:       2956.58 [ms] (mean)
Time per request:       59.13 [ms] (mean, across all concurrent requests)
Transfer rate:          513.52 [Kbytes/sec] received
Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     0    1.1      0    16
Processing:   605  2814 2590.9   2231 98286
Waiting:      602  2814 2590.9   2231 98285
Total:        605  2814 2590.9   2231 98286
Percentage of the requests served within a certain time (ms)
  50%   2231
  66%   2464
  75%   2629
  80%   2719
  90%   2976
  95%   3285
  98%   3905
  99%  19706
 100%  98286 (last request)

APC:
Server Software:        Apache/1.3.42
Server Hostname:        xxx
Server Port:            80
Document Path:          /
Document Length:        29953 bytes
Concurrency Level:      50
Time taken for tests:   26.209 seconds
Complete requests:      3000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      91133398 bytes
HTML transferred:       90345961 bytes
Requests per second:    114.46 [#/sec] (mean)
Time per request:       436.82 [ms] (mean)
Time per request:       8.74 [ms] (mean, across all concurrent requests)
Transfer rate:          3477.18 [Kbytes/sec] received
Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     4   20.1      0   159
Processing:   170   428  109.0    419  3434
Waiting:      167   428  109.1    419  3434
Total:        170   432  106.9    420  3434
Percentage of the requests served within a certain time (ms)
  50%    420
  66%    440
  75%    454
  80%    461
  90%    492
  95%    538
  98%    678
  99%    729
 100%   3434 (last request)

xCache

Server Software:        Apache/1.3.42
Server Hostname:        xxx
Server Port:            80
Document Path:          /
Document Length:        29953 bytes
Concurrency Level:      50
Time taken for tests:   27.201 seconds
Complete requests:      3000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      91225438 bytes
HTML transferred:       90436957 bytes
Requests per second:    110.29 [#/sec] (mean)
Time per request:       453.35 [ms] (mean)
Time per request:       9.07 [ms] (mean, across all concurrent requests)
Transfer rate:          3353.75 [Kbytes/sec] received
Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     6   40.4      0   331
Processing:   145   439  508.0    376  9833
Waiting:       54   439  508.0    376  9833
Total:        145   445  507.6    379  9833
Percentage of the requests served within a certain time (ms)
  50%    379
  66%    419
  75%    441
  80%    456
  90%    526
  95%    634
  98%    899
  99%   3386
 100%   9833 (last request)

Apache 1.3 vs Apache 2.2

  • 28.12.10, 12:37
Benchmark results for Apache 2.2:

Server Software:        Apache/2.2.17
Server Hostname:      xxx
Server Port:            8181

Document Path:          xxx
Document Length:        1104 bytes
Concurrency Level:      50
Time taken for tests:   7.433 seconds
Complete requests:      3000
Failed requests:        0
Write errors:           0
Total transferred:      3876873 bytes
HTML transferred:       3315312 bytes
Requests per second:    403.60 [#/sec] (mean)
Time per request:       123.884 [ms] (mean)
Time per request:       2.478 [ms] (mean, across all concurrent requests)
Transfer rate:          509.35 [Kbytes/sec] received
Connection Times (ms)
             min  mean[+/-sd] median   max
Connect:        0   11  11.1      8      88
Processing:    22  110  33.3    105     483
Waiting:        3   82  39.5     80     443
Total:         22  122  34.0    117     483
Percentage of the requests served within a certain time (ms)
 50%    117
 66%    130
 75%    140
 80%    146
 90%    163
 95%    175
 98%    189
 99%    201
100%    483 (longest request)

Benchmark results for Apache 1.3:
Server Software:        Apache/1.3.42
Server Hostname:       xxx
Server Port:            80
Document Path:         xxx
Document Length:        1104 bytes
Concurrency Level:      50
Time taken for tests:   2.826 seconds
Complete requests:      3000
Failed requests:        0
Write errors:           0
Total transferred:      4292860 bytes
HTML transferred:       3314208 bytes
Requests per second:    1061.38 [#/sec] (mean)
Time per request:       47.108 [ms] (mean)
Time per request:       0.942 [ms] (mean, across all concurrent requests)
Transfer rate:          1483.19 [Kbytes/sec] received

Connection Times (ms)
             min  mean[+/-sd] median   max
Connect:        0    3   2.7      2      16
Processing:     7   43   8.7     42     102
Waiting:        1   39   9.1     38     100
Total:         12   46   8.1     45     106
Percentage of the requests served within a certain time (ms)
 50%     45
 66%     47
 75%     48
 80%     49
 90%     55
 95%     63
 98%     71
 99%     77
100%    106 (longest request)