如何通过优化tengine和varnish提升网站性能?
- 内容介绍
- 文章标签
- 相关推荐
本文共计353个文字,预计阅读时间需要2分钟。
网站带宽为1M,使用Apacheab测试结果:- 服务器软件:Tengine- 服务器域名:douwole.com- 服务器端口:80- 文档路径:/- 文档大小:19980字节- 并发级别:100- 测试时间:77.639秒- 完成请求:500- 失败请求:0
网站带宽为1Mapacheab测试结果:
ServerSoftware:Tengine
ServerHostname:douwole.com
ServerPort:80
DocumentPath:/
DocumentLength:19980bytes
ConcurrencyLevel:100
Timetakenfortests:77.639seconds
Completerequests:500
Failedrequests:0
Totaltransferred:10167000bytes
HTMLtransferred:9990000bytes
Requestspersecond:6.44[#/sec](mean)
Timeperrequest:15527.888[ms](mean)
Timeperrequest:155.279[ms](mean,acrossallconcurrentrequests)
Transferrate:127.88[Kbytes/sec]received
ConnectionTimes(ms)
minmean[+/-sd]medianmax
Connect:4215445.7150448
Processing:324138915850.61465031552
Waiting:14959063893.3531114602
Total:423140455845.71479931699
Percentageoftherequestsservedwithinacertaintime(ms)
50%14799
66%14898
75%14902
80%14951
90%16848
95%31152
98%31351
99%31500
100%31699(longestrequest)
1.[代码][Shell/批处理]代码
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)
本文共计353个文字,预计阅读时间需要2分钟。
网站带宽为1M,使用Apacheab测试结果:- 服务器软件:Tengine- 服务器域名:douwole.com- 服务器端口:80- 文档路径:/- 文档大小:19980字节- 并发级别:100- 测试时间:77.639秒- 完成请求:500- 失败请求:0
网站带宽为1Mapacheab测试结果:
ServerSoftware:Tengine
ServerHostname:douwole.com
ServerPort:80
DocumentPath:/
DocumentLength:19980bytes
ConcurrencyLevel:100
Timetakenfortests:77.639seconds
Completerequests:500
Failedrequests:0
Totaltransferred:10167000bytes
HTMLtransferred:9990000bytes
Requestspersecond:6.44[#/sec](mean)
Timeperrequest:15527.888[ms](mean)
Timeperrequest:155.279[ms](mean,acrossallconcurrentrequests)
Transferrate:127.88[Kbytes/sec]received
ConnectionTimes(ms)
minmean[+/-sd]medianmax
Connect:4215445.7150448
Processing:324138915850.61465031552
Waiting:14959063893.3531114602
Total:423140455845.71479931699
Percentageoftherequestsservedwithinacertaintime(ms)
50%14799
66%14898
75%14902
80%14951
90%16848
95%31152
98%31351
99%31500
100%31699(longestrequest)
1.[代码][Shell/批处理]代码
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)

