Rails doesn't crash a lot, love it and create amazing things

Tags
Tagsprogramming, rails, sysadmin
Posted
Thu 13 Nov, 2008
Comments
5

DHH wrote this: Myth #2: Rails is expected to crash 400 times/day – a response to a myth about Rails processes regularly needing restarts.

I’m a big Rails hacker, it’s 90% of what I’ve done for years. I’ve designed and developed these apps: Tiktrac, Ebiwrite, Helipad, Deadline, Loom and Reuters Real Estate, this blog, not to mention work for smaller clients I haven’t included here. They’re real live applications with constant development, performance and error monitoring.

In the time I’ve been running these applications I’ve never had Rails crash several times a day. In fact, I can’t remember Rails crashing at all except when it’s my fault. Early on I had a cheap Dreamhost account and ran my personal blog on there, and found it crashed due to Dreamhost zapping processes when a server was under load. Now I’ve got dedicated servers (and obviously Reuters do), and we have Rails processes that run from deploy to deploy—this can be weeks or even months depending on the project.

So don’t put off using Rails for your next project, it’s not a big scary beast to deploy and manage. It won’t sap all your server’s RAM. If you’re using Apache get Passenger, it makes managing Rails projects as easy as anything else. If you want to use another Ruby framework or library, Passenger, fcgi and similar projects make it possible and easier than ever.


Ric

Nov 13

Amen, brother.

Ric

Nov 13

As DHH said in his other 'Myth' post, Rails isn't hard to deploy either. Yes, there are lots of options, but if you choose one and run with it, it's actually quite easy - I plan to try out Passenger soon, for even more ease :-). Even as a complete Rails newbie a few of years ago, I managed to get a Ubuntu-Apache-Mongrels installation going in less than a day.

alex

Nov 13

I can get Linux going really quickly for my projects now too, but it takes a while longer with Mac OS. I use some libraries and software from Darwin Ports, and obviously building the source takes a lot longer than downloading binaries with apt!

Ric

Nov 14

I maintain a set of notes which I can follow to get our apps running on a blank-slate Hardy Heron installation in next to no time. I'm thinking of publishing a generalised version of these instructions on my blog soon.

Ric

Nov 25

I got around to trying out Phusion Passenger last week. Very impressed.
http://www.ricroberts.com/articles/2008/11/20/rails-myths-and-phusion-passenger

Security Code