Devise at least three different performance workloads using
httperf, which is installed
on the Linux machines. Note that, in general, it is best to run httperf on a
different machine than that which is running your server. Each of your
workloads should represent a different type of stress on the server.
Type man httperf to see the full documentation. Here are some examples of using httperf:
httperf --server localhost --port 8888 --uri /index.html
httperf --server localhost --port 8888 --num-conns 100 --uri /index.html
httperf --server localhost --port 8888 --num-conns 10 --wlog=y,./test2.txt
In the last case, the file test2.txt
looks like this:
/index.html
/file.html
/index.html
/file.html
/file.html
/file.html
/index.html