I did some testing for the new kid on the block. The Thin Ruby web server. I used 4 instances and Nginx as my proxy server.
Thin is based on tried and true components (best in their class if you ask me). It’s got its parser from Mongrel, IO management by Eventmachine and finally it connects to your favorite Ruby framework via Rack. It’s amazing how one can achieve much just by blending the right components together.
For static page serving, I got a whopping ~2500 req/s on my 2GHZ Core 2 Duo machine. (vs ~900 req/s for the same machine running Mongrels). That’s for 1000 concurrent users using Apache Bench
I also managed to achieve ~1200 req/s for a dynamic request in Rails that prints out ‘Hello world!’. For the same 1000 concurrent users.
I will put it to real test in the coming days in more real world scenarios. I hope to be able to post the results here soon.
Leave a reply to Tamer Salama Cancel reply