Hacker News new | ask | show | jobs
by munctional 5954 days ago
No, this is absolutely not the case.

There are plenty of large sites e.g., yellowpages.com and urbandictionary.com (which switched from PHP) which are built using Rails.

Even if you have scaling problems that are around that of, say, Twitter, your application code still isn't your bottleneck; talking to your database is. No amount of framework (or lack thereof, as you propose/promote) will save you from the ramifications of poorly-constructed SQL.

1 comments

"ramifications of poorly-constructed SQL"

Surely the best defense against this is writing every query yourself rather than letting Rails do it? (As implied in the article).

My argument isn't Ruby execution speed vs PHP execution speed, it's Ruby writing it's own SQL vs me writing it.

I agree 100% that the database is usually the bottleneck, it certainly is for my site.