Siege is a load testing and benchmarking tool that allows us to further analyze our web server's performance. Let's begin by installing Siege inside our Docker container.
From the container's command line, please download and decompress version 4.0.2 of Siege:
# wget -O siege-4.0.2.tar.gz http://download.joedog.org/siege/siege-4.0.2.tar.gz # tar -xzvf siege-4.0.2.tar.gz
Then, please enter Siege's source code directory to compile and install the software:
# cd siege-4.0.2 # ./configure # make # make install
For these tests with Siege, we will be using the -b, -c, and -r switches. Here are the definitions of these switches:
- -b, enables benchmark mode, which means that there are no delays between iterations
- -c, enables ...