Sign inSign up

crccheck/abba

By crccheck

Updated almost 11 years ago

A simple web server with a known delay

Image
0

606

crccheck/abba repository overview

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

Tag summary

Content type

Image

Digest

sha256:afbc2784e

Size

243 MB

Last updated

almost 11 years ago

docker pull crccheck/abba