Skip to content

Instantly share code, notes, and snippets.

@zishe
Created December 7, 2014 22:33
Show Gist options
  • Save zishe/b540d80c03af9ba8ed73 to your computer and use it in GitHub Desktop.
Save zishe/b540d80c03af9ba8ed73 to your computer and use it in GitHub Desktop.
Torquebox 4 vs Go
gem 'torquebox', '4.0.0.alpha1'
jruby-1.7.16.1
$ wrk -t20 -c100 -d50s http://localhost:8080/
Running 50s test @ http://localhost:8080/
20 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 12.72ms 30.65ms 515.79ms 97.38%
Req/Sec 538.06 129.53 2.20k 78.01%
528710 requests in 50.00s, 90.20MB read
Socket errors: connect 0, read 27, write 1, timeout 0
Requests/sec: 10574.52
Transfer/sec: 1.80MB
go1.3.3 darwin/amd64
[01:28:17] ➜ node-mongo rbenv:(2.1.5)
$ wrk -t20 -c100 -d50s http://localhost:9292/
Running 50s test @ http://localhost:9292/
20 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 6.91ms 4.89ms 132.13ms 81.18%
Req/Sec 775.22 167.79 4.35k 69.76%
755820 requests in 50.00s, 86.42MB read
Requests/sec: 15117.15
Transfer/sec: 1.73MB
@zishe
Copy link
Author

zishe commented Dec 7, 2014

Go latency and stdev are a lot better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment