!
 

56 , , 55-58

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)


0