ホームページ  >  記事  >  php教程  >  tengine+varnish如何优化?

tengine+varnish如何优化?

WBOY
WBOYオリジナル
2016-06-06 19:37:44832ブラウズ

网站带宽为1M apacheab测试结果: ServerSoftware:Tengine ServerHostname:douwole.com ServerPort:80 DocumentPath:/ DocumentLength:19980bytes ConcurrencyLevel:100 Timetakenfortests:77.639seconds Completerequests:500 Failedrequests:0 Totaltransfe

网站带宽为1M
apache ab 测试结果 :
Server Software:        Tengine
Server Hostname:        douwole.com
Server Port:            80

Document Path:          /
Document Length:        19980 bytes

Concurrency Level:      100
Time taken for tests:   77.639 seconds
Complete requests:      500
Failed requests:        0
Total transferred:      10167000 bytes
HTML transferred:       9990000 bytes
Requests per second:    6.44 [#/sec] (mean)
Time per request:       15527.888 [ms] (mean)
Time per request:       155.279 [ms] (mean, across all concurrent requests)
Transfer rate:          127.88 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       42  154  45.7    150     448
Processing:   324 13891 5850.6  14650   31552
Waiting:      149 5906 3893.3   5311   14602
Total:        423 14045 5845.7  14799   31699

Percentage of the requests served within a certain time (ms)
  50%  14799
  66%  14898
  75%  14902
  80%  14951
  90%  16848
  95%  31152
  98%  31351
  99%  31500
 100%  31699 (longest request) Tengine Varnish
Server Software:        Tengine
Server Hostname:        douwole.com
Server Port:            80

Document Path:          /
Document Length:        19980 bytes

Concurrency Level:      100
Time taken for tests:   77.639 seconds
Complete requests:      500
Failed requests:        0
Total transferred:      10167000 bytes
HTML transferred:       9990000 bytes
Requests per second:    6.44 [#/sec] (mean)
Time per request:       15527.888 [ms] (mean)
Time per request:       155.279 [ms] (mean, across all concurrent requests)
Transfer rate:          127.88 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       42  154  45.7    150     448
Processing:   324 13891 5850.6  14650   31552
Waiting:      149 5906 3893.3   5311   14602
Total:        423 14045 5845.7  14799   31699

Percentage of the requests served within a certain time (ms)
  50%  14799
  66%  14898
  75%  14902
  80%  14951
  90%  16848
  95%  31152
  98%  31351
  99%  31500
 100%  31699 (longest request)
声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。