Thin – a new web server for Ruby

Jan 5th, 2008 by Robert Dempsey - Tags: , ,

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.

You can leave a response, or trackback from your own site.

2 Comments

  1. Dat Chu says:

    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?

  2. 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.

Leave a Reply

Collaborate.
Enable.
Succeed.

Contact

(888) 331-8520
4210 Beau James Court
Winter Park, Florida 32792 RSS Feed

Search

Popular Articles

Recent Articles