Thin – a new web server for Ruby

by Robert Dempsey on January 5, 2008

There’s a new web server in town for Ruby, and it’s name is Thin. While it uses the Mongrel parser, it does not rely on it, and ultimately, it’s faster. Install it and see for yourself.

Getting started is super easy

  • Install the lastest: sudo gem install thin –source http://code.macournoyer.com
  • Change to the root directory of your Rails app
  • thin start

That’s it! Pretty easy. I ran some initial non-scientific tests on Leopard – run Thin in development mode, click links, view logs. I used our corporate site which uses Edge Rails, and I have seen an additional 20-40 reqs/sec over Mongrel. Plans are to launch an EC2 instance and run it in production to see what happens.

Bookmark and Share

Other Posts That Might Interest You

  1. Thin 0.7.0 Released
  2. Ruby on Rails connection to SQL Server
  3. Start From the Beginning – Installing Ruby and MySQL
  • Dat,

    We are in the process of EC2 testing, and so far things are simple and working well. Capistrano recipes are forthcoming. As soon as we have one we will post it. Thanks for the comment.
  • Dat Chu
    Have you had any comments on running EC2 on Thin server? Also, I notice that you use Capistrano. Do you write your own Capistrano recipes for managing thin servers?
blog comments powered by Disqus

Previous post:

Next post: