Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

金刚狼压力测试结果 #10

Open
yuyu1911 opened this issue Apr 19, 2012 · 0 comments
Open

金刚狼压力测试结果 #10

yuyu1911 opened this issue Apr 19, 2012 · 0 comments

Comments

@yuyu1911
Copy link
Member

16日用ab对金刚狼进行了压力测试,并发2000总计6000W请求,可惜ab蹦了没拿到结果,但服务器在承受6000W的请求没崩,这也算达到预期。后来做了1000并发+1000W请求的压力测试,其结果为:

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 10.20.158.33 (be patient)

Server Software:
Server Hostname: 10.20.158.33
Server Port: 1337

Document Path: /?data=%7B%22taskId%22%3A%2220120329%22%2C%22browser%22%3A%7B%22name%22%3A%22IE%22%2C%22version%22%3A7%2C%22engine%22%3A%22%22%7D%2C%22os%22%3A%7B%22name%22%3A%22windows%22%2C%22version%22%3A7%7D%2C%22language%22%3A%22zh-cn%22%7D
Document Length: 0 bytes

Concurrency Level: 1000
Time taken for tests: 7700.73020 seconds
Complete requests: 10000000
Failed requests: 0
Write errors: 0
Total transferred: 640000000 bytes
HTML transferred: 0 bytes
Requests per second: 1298.69 #/sec
Time per request: 770.007 ms
Time per request: 0.770 [ms](mean, across all concurrent requests)
Transfer rate: 81.17 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 3.6 0 3109
Processing: 46 768 81.4 749 5265
Waiting: 0 563 144.8 562 4874
Total: 46 769 81.5 749 5265

Percentage of the requests served within a certain time (ms)
50% 749
66% 765
75% 781
80% 781
90% 796
95% 828
98% 890
99% 968
100% 5265 (longest request)

从结果看,单位请求处理时间在0.7ms左右,还算不错。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant