Skip to content

Instantly share code, notes, and snippets.

@dcarley
Created March 30, 2011 14:10
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 dcarley/894458 to your computer and use it in GitHub Desktop.
Save dcarley/894458 to your computer and use it in GitHub Desktop.
Tomcat proxying comparisons. Nginx, mod_proxy_ajp and mod_proxy_http.
Server Software:
Server Hostname: japp0.labs
Server Port: 81
Document Path: /aim/account/registration
Document Length: 5391 bytes
Concurrency Level: 10
Time taken for tests: 29.054 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 56220000 bytes
HTML transferred: 53910000 bytes
Requests per second: 344.19 [#/sec] (mean)
Time per request: 29.054 [ms] (mean)
Time per request: 2.905 [ms] (mean, across all concurrent requests)
Transfer rate: 1889.68 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.4 0 28
Processing: 2 29 117.5 11 10929
Waiting: 2 28 117.4 10 10929
Total: 2 29 117.5 11 10929
Percentage of the requests served within a certain time (ms)
50% 11
66% 30
75% 46
80% 54
90% 73
95% 86
98% 106
99% 120
100% 10929 (longest request)
Server Software: Apache-Coyote/1.1
Server Hostname: japp0.labs
Server Port: 80
Document Path: /aim/account/registration
Document Length: 5391 bytes
Concurrency Level: 10
Time taken for tests: 31.685 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 56490000 bytes
HTML transferred: 53910000 bytes
Requests per second: 315.61 [#/sec] (mean)
Time per request: 31.685 [ms] (mean)
Time per request: 3.168 [ms] (mean, across all concurrent requests)
Transfer rate: 1741.09 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.6 0 29
Processing: 2 31 229.4 10 11149
Waiting: 2 31 229.2 10 11148
Total: 2 32 229.4 11 11149
Percentage of the requests served within a certain time (ms)
50% 11
66% 24
75% 34
80% 44
90% 72
95% 94
98% 127
99% 152
100% 11149 (longest request)
Server Software: nginx
Server Hostname: japp0.labs
Server Port: 82
Document Path: /aim/account/registration
Document Length: 5391 bytes
Concurrency Level: 10
Time taken for tests: 28.781 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 56440000 bytes
HTML transferred: 53910000 bytes
Requests per second: 347.45 [#/sec] (mean)
Time per request: 28.781 [ms] (mean)
Time per request: 2.878 [ms] (mean, across all concurrent requests)
Transfer rate: 1915.07 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.3 0 11
Processing: 3 28 29.8 23 508
Waiting: 3 28 29.8 23 508
Total: 3 29 29.8 24 509
Percentage of the requests served within a certain time (ms)
50% 24
66% 26
75% 28
80% 29
90% 36
95% 60
98% 126
99% 177
100% 509 (longest request)
Server Software: Apache-Coyote/1.1
Server Hostname: japp0.labs
Server Port: 8080
Document Path: /aim/account/registration
Document Length: 5391 bytes
Concurrency Level: 10
Time taken for tests: 27.327 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 56490000 bytes
HTML transferred: 53910000 bytes
Requests per second: 365.94 [#/sec] (mean)
Time per request: 27.327 [ms] (mean)
Time per request: 2.733 [ms] (mean, across all concurrent requests)
Transfer rate: 2018.73 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.3 0 7
Processing: 2 27 25.9 28 1141
Waiting: 2 27 25.9 27 1140
Total: 2 27 25.9 28 1141
Percentage of the requests served within a certain time (ms)
50% 28
66% 40
75% 44
80% 47
90% 55
95% 64
98% 78
99% 88
100% 1141 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment