Note before starting: since we have run these tests in an optimized environment
with relatively powerful machines, you will probably not completely reproduce 
our results. However, these are the steps we have followed on our machines.

Before continuing, make sure Lua and wrk2 are installed. A how-to for Ubuntu can
be found in install_wrk2_and_lua_on_ubuntu_18.04.sh. Version of WRK2 used:
https://github.com/robinvanemden/wrk2

The next assumption we make is that you are running the Docker version or the
StreamingBandit back-end should accept requests at http://localhost:8080.

Then you need to adapt the Lua scripts to work in your environment. For this
we need:
- An admin user with password test (or change it in sb_auth.lua)
- An experiment without any code and then the exp_id and key changed in
  sb_setget_clean.lua
- An A/B test experiment and then the exp_id and key changed in sb_setget_ab.lua

Then, to run all the commands and store the results in plaintext files, you can
run the stress testing commands by running the stress_testing.sh script. This
will automatically store all results in the results folder. Find our results
in the results_optimized folder. StreamingBandit load-test wrk2 CLI commands:

To create the included plot, upload all of these output files to the HdrHistogram
Plotter. Then you can compare the results_optimized plot with your results.

This plotter can be found at:

http://hdrhistogram.github.io/HdrHistogram/plotFiles.html

Several other implentations of the plotter can be found at:

http://hdrhistogram.org/
