ab 测试差别太大了...怎么破?

2014-03-24 10:27:33 +08:00
 gihnius
参数: ab -k -n 1000 -c 10 http://site...

应用本地: (linode)
Document Length: 56156 bytes

Concurrency Level: 10
Time taken for tests: 0.821 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 0
Total transferred: 56696000 bytes
HTML transferred: 56156000 bytes
Requests per second: 1218.31 [#/sec] (mean)
Time per request: 8.208 [ms] (mean)
Time per request: 0.821 [ms] (mean, across all concurrent requests)
Transfer rate: 67454.58 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 3
Processing: 3 8 2.3 8 18
Waiting: 3 8 2.3 7 18
Total: 3 8 2.3 8 18

Percentage of the requests served within a certain time (ms)
50% 8
66% 9
75% 9
80% 10
90% 11
95% 12
98% 14
99% 15
100% 18 (longest request)


其它服务器:( ec2 )
Document Length: 56156 bytes

Concurrency Level: 10
Time taken for tests: 31.256 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 0
Total transferred: 56696000 bytes
HTML transferred: 56156000 bytes
Requests per second: 31.99 [#/sec] (mean)
Time per request: 312.558 [ms] (mean)
Time per request: 31.256 [ms] (mean, across all concurrent requests)
Transfer rate: 1771.42 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 75 76 1.5 76 93
Processing: 229 235 3.5 235 257
Waiting: 78 81 2.3 80 99
Total: 305 312 3.9 311 337

Percentage of the requests served within a certain time (ms)
50% 311
66% 312
75% 313
80% 314
90% 316
95% 320
98% 323
99% 325
100% 337 (longest request)
3185 次点击
所在节点    问与答
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/105573

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX