Web Servers Benchmarking

April 2014 ยท 1 minute read

wrk

wrk -t12 -c400 -d10m http://127.0.0.1:8080/index.html

ApacheBench

ab -c 40 -n 50000 http://www.example.com/

Boom

Boom is a replacement for Apache Bench written in Python

boom http://example.com/ -c 20 -n 200

Siege

siege -d1 -c50 http://www.example.com/

If you want to give a site a real workout, you probably want to specify more than one URL. You can do this with a list of URLs in ~/etc/urls.txt or specify a text file with URLs using the -f file option. If you want a simulation closer to real-world usage, you’ll want to use the -i option, which hits the URLs in the file randomly. serverwatch.com

siege -d10 -c50 -i -f mysite.txt

Other tools:

Ref: Load-Testing-and-Benchmarking-With-Siege, benchmarking-and-load-testing-with-siege