$ go run *.go -p=:80 -c=0 -wr=/var/www/html -w=4
- -p Port to run server on
- -c Number of cores to utilize
- -wr Webroot directory, all static lies here
- -w Worker count
$ docker build -t [NAME] .
$ docker run --publish 80:80 --name [CONTAINER_NAME] [--rm [NAME] or -t [NAME]]
All tests passed
$ ./httptest.py
$ ab -n 100000 -c 100 127.0.0.1:80/httptest/dir2/page.html