Imagine a Webserver faster than Mongrel, oh I know: Thin!
Published: January 4th, 2008Thin is a new web server that has entered the server battlefield. It touts an impressive slogan: “the most secure, fast, and extensible Ruby web server ever.”
Brand new, and released in an experimental release: Thin1 has arisen. With the outburst from Zed2 marking a likely end to Mongrel; Thin couldn’t have come at a better time.
I’m not trying to talk bad about Mongrel3, but if there’s a new toy on the block that’s better in every way, why not go for it?
Thin “glues together 3 of the best Ruby libraries in web history”:
- The Mongrel parser, the root of Mongrel speed and security
- Event Machine, a network I/O library with extremely high scalability, performance and stability.
- Rack, a minimal interface between webservers and Ruby frameworks.
Here’s the mighty graph of truth:
The homepage of Thin warns that it’s an experimental release, so don’t use it on a production environment unless you wish your applications death sentence to come early.
Install It
On your system of choice
sudo gem install thin
Run It
In your Rails Application
thin start
I love the name, I love the idea of a faster server, and I hope good things come from this little gem! Does anyone else see improvements in performance compared to Mongrel?
- A Ruby Web Server : http://code.macournoyer.com/thin/ [↩]
- Zed Shaw : http://www.zedshaw.com [↩]
- Mongrel Homepage [↩]
Thanks for the info, checking it out right now. I just started to learn RoR and now am using mongrel and WEBrick interchangably.
Mongrel ain’t going away any time soon. Zed has passed on the reigns to a highly competent core team.
Ah, this I did not know! Well, it’s good to hear that Mongrel is backed by an impressive team. It’s also good to know there’s a competitor in the ring. :)
Thx for blogging about my project Daniel!
Glad you like it
Check out the latest release : http://groups.google.com/group/thin-ruby/browse_thread/thread/ef6ae8ca4ec2fe29
[...] Daniel Fisher had a great review [...]
Oh I knew it all along ! Litespeed ;-)
anyone know, is Thin ready for production environtment ?
if yes, how we configure it ?
Ready. Set. Go.
In terms of the formatting, you're allowed to use markdown, textile, or basic html; it's truly up to you -- what strikes your fancy?
You don't have to worry about your e-mail address being sold to a russian-spam-mafia. I'm only going to use it for my own weird needs; like asking you out for a date on a lonely night of coding.