Apache Bench Benchmark Analysis
Apache Bench (ab
) is a great tool for benchmarking http endpoints. But do you
really know how to use it? This project contains:
- A dirt simple node server with endpoints that take a known amount of time to respond
- TODO: how to interpret the results
Installing requirements and then running the server:
npm install
npm start
Running the server, exposing it on port 8888:
docker run -p 8888:8000 crccheck/abba
juypter notebook
All numbers (everything except the first field) are in milliseconds. The most
useful fields are: seconds
and wait
.
- starttime - date time
- seconds - epoch time
- ctime - connection time
- dtime - time from connection until the end
- ttime - total time (including connection)
- wait - time from sending the request to getting the first byte