ruby 1.9.2 + async_sinatra + thin thin start
ab -n 10000 -c 100 http://localhost:3000/
-> 49ms / request
node server.js
ab -n 10000 -c 100 http://localhost:3000/
-> 20ms / request
ruby em_http_serv.rb
ab -n 10000 -c 100 http://localhost:3000/
-> 12ms / request
ruby hello.rb -e prod -p 3000
ab -n 10000 -c 100 http://localhost:3000/
-> 50ms / request
I note that bare sinatra isn't included - my impression is that Sinatra::Async is for downstream optimization (e.g. don't block on db reads), because plain old sinatra with thin already has upstream asynch.