如此高压之下,nginx依旧表示蛋定,不得不服气- –
有空了研究下详细的参数,继续优化
测试环境:两个相距5跳的vps,ping下来1.2ms
被测试vps:512M内存,1024M的burst,openvz,跑完3000个测试load接近2
网页是博客首页,已经用w3 total cache静态化
[root@vps ~]#ab -c 100 -n 3000 http://johnliu.info/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking johnliu.info (be patient)
Completed 300 requests
Completed 600 requests
Completed 900 requests
Completed 1200 requests
Completed 1500 requests
Completed 1800 requests
Completed 2100 requests
Completed 2400 requests
Completed 2700 requests
Finished 3000 requests
Server Software: nginx/0.8.53
Server Hostname: johnliu.info
Server Port: 80
Document Path: /
Document Length: 32170 bytes
Concurrency Level: 100
Time taken for tests: 10.576416 seconds
Complete requests: 3000
Failed requests: 0
Write errors: 0
Total transferred: 97896000 bytes
HTML transferred: 96510000 bytes
Requests per second: 283.65 [#/sec] (mean)
Time per request: 352.547 [ms] (mean)
Time per request: 3.525 [ms] (mean, across all concurrent requests)
Transfer rate: 9039.07 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 60 395.1 7 3012
Processing: 49 268 85.3 268 2438
Waiting: 21 228 75.8 225 2415
Total: 51 328 404.6 275 3981
Percentage of the requests served within a certain time (ms)
50% 275
66% 293
75% 302
80% 308
90% 334
95% 362
98% 783
99% 3273
100% 3981 (longest request)