Skip to content

Instantly share code, notes, and snippets.

@arp
Created June 27, 2011 23:59
Show Gist options
  • Save arp/1050156 to your computer and use it in GitHub Desktop.
Save arp/1050156 to your computer and use it in GitHub Desktop.
Goliath Benchmarks
### machine1$ ruby redis_test.rb -c conf.rb
### machine2$ ab -n 10000 -c 100 http://***.compute-1.amazonaws.com:9000/
### ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
### Redis server version 2.2.11 (00000000:0)
### goliath (0.9.1), em-synchrony (0.3.0.beta.1), eventmachine (1.0.0.beta.3)
### Redis pool size: 10
### GC: enabled
###################################################################################
######## Goliath with Redis
Server Software: Goliath
Server Hostname: ***.compute-1.amazonaws.com
Server Port: 9000
Document Path: /
Document Length: 0 bytes
Concurrency Level: 100
Time taken for tests: 24.567 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 920000 bytes
HTML transferred: 0 bytes
Requests per second: 407.05 [#/sec] (mean)
Time per request: 245.672 [ms] (mean)
Time per request: 2.457 [ms] (mean, across all concurrent requests)
Transfer rate: 36.57 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.6 0 20
Processing: 38 245 1796.5 90 24562
Waiting: 25 235 1797.1 82 24561
Total: 38 245 1796.9 91 24567
Percentage of the requests served within a certain time (ms)
50% 91
66% 94
75% 97
80% 101
90% 104
95% 118
98% 464
99% 1209
100% 24567 (longest request)
###################################################################################
######## Goliath w/o Redis (everything is the same, but redis.get is commented out)
Server Software: Goliath
Server Hostname: ***.compute-1.amazonaws.com
Server Port: 9000
Document Path: /
Document Length: 0 bytes
Concurrency Level: 100
Time taken for tests: 23.287 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 920000 bytes
HTML transferred: 0 bytes
Requests per second: 429.43 [#/sec] (mean)
Time per request: 232.869 [ms] (mean)
Time per request: 2.329 [ms] (mean, across all concurrent requests)
Transfer rate: 38.58 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.3 1 29
Processing: 109 231 11.4 231 261
Waiting: 21 209 12.0 207 236
Total: 113 232 11.1 232 262
Percentage of the requests served within a certain time (ms)
50% 232
66% 238
75% 239
80% 239
90% 242
95% 244
98% 247
99% 250
100% 262 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment