Alexey Kovyrin wrote:
This week we have started one new project with Ruby on Rails as primary framework. My first task was to prepare runtime environment for it on one of our development servers. When I have tried to research how people doing it, I noted that there is no information about how to deploy rails application with nginx as frontend and what is performance of such solution. Before blindly make any decisions about future platform I’ve decided to make some performance tests of the some most popular rails web servers/frontends. Results of these tests you can find here with configuration samples for all software that I have used.
First of all - great initiative. But - as is posted in the comments on your blog - testing the default rails index.html page really isn't performance testing rails at all - since that's a static html page. You need to create an app that probably hits a database on every page view or at least hits and then caches.
I'm also questioning how you came up with testing 100 simultaneous connections from one single computer. I'm sure the tcp/ip stack of the OS in question will be a factor here - and 100 connections simultaneously is a LOT.