Home  >  Article  >  php教程  >  tengine+varnish如何优化?

tengine+varnish如何优化?

WBOY
WBOYOriginal
2016-06-06 19:37:44831browse

网站带宽为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)
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn