Running under THIN

  • Digg this article
  • Sphinn this article
  • Stumble this article
  • Facebook
  • del.icio.us
  • LinkedIn
  • Twit this article

Monday, 03 March 2008

As I really want to push THIN (the light mongrel rails server) and see how it really stands in a production environment I've decided to run this site on it for a week and see how the thing handles.

For the inquisitive, this is the command I ran to start it up...

thin start --port 8000 --environment production --servers 2

Starts 2 THIN rails servers at ports 8000 and 8001 under production mode.

Currently they're consuming about 64mb of memory (less than mongrel's 120mb).

Let me know how you think it handles.

Update

So far running pretty sweetly, much more responsive than Mongrel and the memory usage is down a heck of a lot. Considering using ArchLinux for my server box, have liked using that linux distribution.

Comments
  1. Thomas GlasgowMonday, 03 March 2008
    Did you try httperfing it? Otherwise we could see how your website stands a slashdot or digg tornado :-)
  2. JohnMonday, 03 March 2008
    I did and got back better results with THIN, it handled a few more hits than 2 similar mongrel clusters.

    Will keep running it thru some hurdles to see how flexible it really is, but so far pretty impressed Thomas.