What Have We Been Doing?

Posted by Ron Valente Mon, 14 Apr 2008 16:29:00 GMT

Introduction

Lately I have been working hard testing many deployment options for rails applications. The results are quite interesting. I will be going into detail analysis of each setup that we testing including hardware I used, how I setup each test, the benchmarks (obviously) and lastly the winners for each category. As we know DHH doesnt recommend Rails apps to be hosted on shared hosting solutions. That being said Slicehost has done wonderfully and we recommend them highly.

Our Situation

We have been looking for a way to optimize our rails app hosting solution. Currently we use Litespeed 3.3.9 and the Ruby LSAPI. This decreases the memory requirements immensely compared to other solutions like thin.

Testing

Ruby Interpreter Tests

  • Ruby18/JRuby - Performance & Memory Requirements

WebServer Tests

  • Nginx with Mongrel
  • Nginx with Thin
  • Litespeed
  • Apache with Passenger
  • Glassfish/JRuby

More on all of this in my upcoming post. Any comments are requests for benchmarks are welcome and encouraged!

Regards, Ron