Skip to content

Instantly share code, notes, and snippets.

@DamnWidget
Created April 20, 2013 14:29
Show Gist options
  • Save DamnWidget/5426170 to your computer and use it in GitHub Desktop.
Save DamnWidget/5426170 to your computer and use it in GitHub Desktop.
Just some benchmark comparission for mamba vs google
# Google
GentooStation damnwidget # ab -n 1000 -c 160 http://www.google.ie/
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 www.google.ie (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: gws
Server Hostname: www.google.ie
Server Port: 80
Document Path: /
Document Length: 10902 bytes
Concurrency Level: 160
Time taken for tests: 3.741 seconds
Complete requests: 1000
Failed requests: 957
(Connect: 0, Receive: 0, Length: 957, Exceptions: 0)
Write errors: 0
Total transferred: 11734666 bytes
HTML transferred: 10999932 bytes
Requests per second: 267.32 [#/sec] (mean)
Time per request: 598.523 [ms] (mean)
Time per request: 3.741 [ms] (mean, across all concurrent requests)
Transfer rate: 3063.44 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 17 273 157.5 285 1133
Processing: 46 278 128.1 273 598
Waiting: 46 273 125.7 267 568
Total: 64 552 132.6 583 1583
Percentage of the requests served within a certain time (ms)
50% 583
66% 588
75% 593
80% 595
90% 606
95% 614
98% 623
99% 809
100% 1583 (longest request)
# Now Mamba Cluster
GentooStation damnwidget # ab -n 1000 -c 160 http://www.pymamba.com/
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 www.pymamba.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: nginx
Server Hostname: www.pymamba.com
Server Port: 80
Document Path: /
Document Length: 2348 bytes
Concurrency Level: 160
Time taken for tests: 1.295 seconds
Complete requests: 1000
Failed requests: 1008
(Connect: 0, Receive: 0, Length: 1008, Exceptions: 0)
Write errors: 0
Non-2xx responses: 1010
Total transferred: 2745170 bytes
HTML transferred: 2373490 bytes
Requests per second: 771.97 [#/sec] (mean)
Time per request: 207.263 [ms] (mean)
Time per request: 1.295 [ms] (mean, across all concurrent requests)
Transfer rate: 2069.51 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 25 75 16.6 77 112
Processing: 42 85 65.4 69 386
Waiting: 41 85 65.4 69 386
Total: 73 160 68.8 148 483
Percentage of the requests served within a certain time (ms)
50% 148
66% 156
75% 162
80% 166
90% 176
95% 395
98% 449
99% 462
100% 483 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment