Rails Doesn't Crash a Lot

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.

blog comments powered by Disqus