This is from the Fall 2013 version of the course. For the most recent version,
try http://rust-class.org/pages/problem-set-3-zhtta-server-benchmarking.html.
Problem Set 3 - Zhtta Server - Benchmarking
Installing httperf
These steps should work to install httperf:
> wget https://code.google.com/p/httperf/downloads/detail?name=httperf-0.9.0.tar.gz
> tar xfvz httperf-0.9.0.tar.gz
> cd httperf-0.9.0
> ./configure
> make
> sudo make install
You may get lots of warnings when you make
since the httperf code is
quite old and uses many deprecated SSL features (but it should still
work even with the warnings).
Using httperf
Send one request:
> httperf --hog --server=localhost --port=4414
Send one request:
> httperf --hog --server=localhost --port=4414 --num-conns=1000 --rate=10