Skip to content

crccheck/abba

Repository files navigation

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

About

Some fun with Apache Bench

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages