- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
ab压力测试(AB pressure test)
ab压力测试(AB pressure test)
AB is a great stress test tool that comes with Apache. When you install Apache, you can find AB under bin
1, we can simulate 100 concurrent users and send 1000 requests to a page
./ab -n1000 -c100 /a.html
Where -n represents the number of requests, and -c represents the number of concurrent
Return result:
The first is the Apache version information ##
This is ApacheBench, Version 2.3 $Revision: 655654 $
Copyright 1996, Adam, Twiss, Zeus, Technology, Ltd, /
Licensed, to, The, Apache, Software, Foundation, /
Benchmarking (be patient)
Server, Software:, Apache/2.2.19, ##apache version
Server Hostname: ## request machine
Server Port: 80 ## request port
Document Path: /a.html
Document Length: 25 bytes ## page length
Concurrency Level: 100 ## concurrency
Time taken for tests: 0.273 seconds ## used a total of how much time
Complete requests: 1000 ## requests
Failed requests: 0 ## failed requests
Write errors: 0
Total transferred: 275000 bytes ## total transmission bytes, HTTP contains the header information.
HTML transferred: 25000, bytes, ##html bytes, the actual number of bytes passed by the page
Requests per second: 3661.60 [#/sec] (mean) ## many requests per second, this is a very important parameter value, the throughput of the server
Time per request: 27.310 [ms] (mean) ## per user request wait time
Time per request: 0.273 [ms] (mean, across all concurrent requests) ## server average processing time, also is the reciprocal of the throughput of the server
Get Transfer rate: 983.34 [Kbytes/sec] received ## per second data length
Connection Times (MS)
Min mean[+/-sd] median Max
Connect: 12.3016
Processing: 6253.22532
Waiting: 5243.22532
Total: 6254.02548
Percentage, of, the, requests, served, within, a, certain, time (MS)
50% 25 50% ## request in the 25ms return
66% 26 60% ## request in the 26ms return
75%, 26
80%, 26
90%, 27
95%, 31
98%, 38
99%, 43
100%, 48 (longest, request)
2 ab can also run in windows, and if you install Apache under wind
您可能关注的文档
- 2011年下期班主任工作计划(The second half of the 2011 work plan).doc
- 2011年乡镇党建工作总结(Summary of Party building work in villages and towns in 2011).doc
- 2011年上海高考优秀作文点评(2011 Shanghai college entrance examination excellent composition review).doc
- 2011年交通局精神文明建设工作总结(Summary of spiritual civilization construction of traffic bureau in 2011).doc
- 2011年会计从业资格考试题库及答案(Examination questions and answers of accountant qualification examination in 2011).doc
- 2011年俏皮话经典排行(2011 classic list of nifty words).doc
- 2011年供电所所长个人总结优秀范文(In 2011, the director of the power supply office summed up the outstanding individual models).doc
- 2011年二级建造师考试大纲《建筑工程专业》(In 2011, the two construction division examination outline Construction Engineering Specialty).doc
- 2011年全区民生工程进展情况汇报(Progress report on livelihood projects in the whole area in 2011).doc
- 2011年元旦祝福短信贺词_兔年新年真情浪漫的元旦祝福语大全文库(2011 New Year's Day Blessing SMS message _ rabbit year true romantic new year's blessing language library Daquan).doc
- ACAA Flash 动画师模拟题(the acaa flash 动画师模拟题).doc
- ab网站压力测试(AB website stress test).doc
- ACA北美电器决胜于终端之外(ACA North American Electric race out of the terminal).doc
- ACE 常用的类和样板(ACE commonly used classes and templates).doc
- Access操作步骤(Access operation steps).doc
- ACS+AD结合做802.1x认证(ACS+AD combination for 802.1x certification).doc
- A、B类酒店终端调查的动作分解(Action decomposition of terminal investigation for A and B hotels).doc
文档评论(0)