Skip to content

Instantly share code, notes, and snippets.

@jimbaker
Created March 6, 2014 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimbaker/9401155 to your computer and use it in GitHub Desktop.
Save jimbaker/9401155 to your computer and use it in GitHub Desktop.
Fireside overhead, as tested by ab. This doesn't include any issues around GC pauses.
$ ab -k -c 10 -n 5000 localhost:8080/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 500 requests
Completed 1000 requests
Completed 1500 requests
Completed 2000 requests
Completed 2500 requests
Completed 3000 requests
Completed 3500 requests
Completed 4000 requests
Completed 4500 requests
Completed 5000 requests
Finished 5000 requests
Server Software: Jetty(9.1.2.v20140210)
Server Hostname: localhost
Server Port: 8080
Document Path: /
Document Length: 38 bytes
Concurrency Level: 10
Time taken for tests: 0.715 seconds
Complete requests: 5000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 0
Total transferred: 575345 bytes
HTML transferred: 190114 bytes
Requests per second: 6994.87 [#/sec] (mean)
Time per request: 1.430 [ms] (mean)
Time per request: 0.143 [ms] (mean, across all concurrent requests)
Transfer rate: 786.03 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.2 0 1
Processing: 0 1 0.9 1 21
Waiting: 0 1 0.9 1 21
Total: 1 1 0.9 1 22
Percentage of the requests served within a certain time (ms)
50% 1
66% 1
75% 1
80% 2
90% 2
95% 2
98% 2
99% 3
100% 22 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment