Sunday, October 26, 2008

Switching to Thin server

By default, rails uses Webrick which is not particularly efficient. Although a lot of rails sites are using Mongrel in a cluster mode, I've chosen to use Thin.

The installation is really easy :

Yourapplicationdir$\ gem install thin

Then choose the i386 version when asked (at least with such a name, you're sure it's working on Windows).

Usage: thin start instead of the usual ruby script/server start

More information can be found here or on this site.

No comments: