Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Oh Shit: How to Break a Large Website (and how not to) -- PDF version . Parent comment
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.
There are no comments on this comment yet.
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.