How to use web benchmark tools on CentOS
Introduction
Web server benchmarking is an important process that helps you analyze the performance of your web applications and infrastructure. Benchmarking helps you identify bottlenecks, performance issues, and other problems that might be affecting your web application. In this blog post, we will take a closer look at how you can use web benchmarking tools on CentOS.
webbench
1 Install
wget http://home.tiscali.cz/~cz210552/distfiles/webbench-1.5.tar.gz
tar zxvf webbench-1.5.tar.gz
cd webbench-1.5
make && make install
2 Test
webbench -c 2000 -t 30 http://localhost/index.html
-c:concurrency
-t:time(s)
ab
1 Install
yum install httpd-tools
2 Test
ab -kc 1000 -n 10000 http://localhost/index.html
-c:concurrency
-n:requests number
Leave a message
Disclaimer
- Welcome to visit the knowledge base of SRE and DevOps!
- License under CC BY-NC 4.0
- Made with Material for MkDocs and improve writing by generative AI tools
- Copyright issue feedback me#imzye.com, replace # with @