当前位置:网站首页>Apache AB stress test
Apache AB stress test
2022-07-07 07:12:00 【A grain of sand in the vast sea of people】
brief introduction
There are many pressure measuring tools , Such as :LoadRunner、JMeter、ab wait ,LoadRunner and JMeter The use is relatively complicated ,ab Relatively simple
Apache ab Download and stress test
download
Apache VS16 binaries and modules download
Decompress after downloading
And then use cmd Get into apache24\bin Catalog , function ab. ( Note that you cannot double-click )
Then run the pressure test , such as
ab -n 5000 -c 100 localhost:8080/sync_result
5000 A request , Every time concurrent 100 A request . localhost:8080/sync_result This is URL, The default timeout is 30s.
The results are as follows
Concurrency Level: 100
Time taken for tests: 26.970 seconds
Complete requests: 5000
Failed requests: 4549
(Connect: 0, Receive: 0, Length: 4549, Exceptions: 0)
Total transferred: 909599 bytes
HTML transferred: 244599 bytes
Requests per second: 185.39 [#/sec] (mean)
Time per request: 539.391 [ms] (mean)
Time per request: 5.394 [ms] (mean, across all concurrent requests)
Transfer rate: 32.94 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.3 0 1
Processing: 500 517 56.2 509 1326
Waiting: 500 516 54.4 508 997
Total: 500 517 56.2 509 1326
Percentage of the requests served within a certain time (ms)
50% 509
66% 513
75% 515
80% 516
90% 518
95% 521
98% 628
99% 908
100% 1326 (longest request)
If you want to visit https Of url. Then use the following command
abs -n 5000 -c 100 https://localhost:8080/sync_result
边栏推荐
- 异步组件和Suspense(真实开发中)
- MySQL binlog related commands
- oracle如何备份索引
- From zero to one, I will teach you to build the "clip search by text" search service (2): 5 minutes to realize the prototype
- js小练习----分时提醒问候、表单密码显示隐藏效果、文本框焦点事件、关闭广告
- LVS+Keepalived(DR模式)学习笔记
- readonly 只读
- Answer to the second stage of the assignment of "information security management and evaluation" of the higher vocational group of the 2018 Jiangsu Vocational College skills competition
- How DHCP router works
- Four goals for the construction of intelligent safety risk management and control platform for hazardous chemical enterprises in Chemical Industry Park
猜你喜欢
Take you to brush (niuke.com) C language hundred questions (the first day)
Basic introduction of JWT
JDBC database connection pool usage problem
Precise space-time travel flow regulation system - ultra-high precision positioning system based on UWB
云备份项目
jdbc数据库连接池使用问题
2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书第二阶段答案
Maze games based on JS
联合索引ABC的几种索引利用情况
Nesting and splitting of components
随机推荐
Common function detect_ image/predict
Tujia, muniao, meituan... Home stay summer war will start
Unity3d learning notes
什么情况下考虑分库分表
Please tell me how to monitor multiple schemas and tables by listening to PgSQL
Torefs API and toref API
Pass parent component to child component: props
Use of completable future
How Oracle backs up indexes
父组件传递给子组件:Props
Kuboard无法发送邮件和钉钉告警问题解决
transform-origin属性详解
请教一个问题,flink oracle cdc,读取一个没有更新操作的表,隔十几秒就重复读取全量数据
2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书
云备份项目
详解机器翻译任务中的BLEU
栈题目:有效括号的嵌套深度
How can gyms improve their competitiveness?
[noi simulation] regional division (conclusion, structure)
子组件传递给父组件