Some fun with Apache Bench
Jupyter Notebook Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
notebooks
.dockerignore
.eslintrc
.gitignore
Dockerfile
LICENSE
Makefile
README.md
index.js
package.json
requirements.txt

README.md

abba

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:

  1. A dirt simple node server with endpoints that take a known amount of time to respond
  2. TODO: how to interpret the results

Usage

Node

Installing requirements and then running the server:

npm install
npm start

Docker

Running the server, exposing it on port 8888:

docker run -p 8888:8000 crccheck/abba

Jupyter notebook

juypter notebook

Addendum

ApacheBench tsv file

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