- Jan
- 05
- 2008
Thin - a new web server for Ruby
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.
Related Posts
You can leave a response, or trackback from your own site.


2 Responses to “Thin - a new web server for Ruby”
On January 22nd, 2008 at 4:55 pm
Dat Chu said:
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?
On January 22nd, 2008 at 5:04 pm
Robert Dempsey said:
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.