Re:Ask HN: Building a large webapp today - what language for...
by hendzen on Sunday August 05, 2012 @02:33PM
(#4342170)
I agree that ruby is slow, and I actually recommended Java, but ruby execution is not going to be the bottleneck for a webapp, the database is.
[ Parent
| on HN ]
Re:Ask HN: Building a large webapp today - what language for...
by netgineer on Sunday August 05, 2012 @02:56PM
(#4342250)
I disagree that the slow part of a RoR app is the database - from my anecdotal experience, the slowest part is rendering views and the string manipulation there-in, probalby caused by GC. For a Rails 2.3 App with REE and MySQL, time is ~25% GC, ~25% DB and 50% ruby (from NewRelic).
However, premature optimization and all that, don't choose Java because its faster than Ruby in some arbitrary benchmark. Choose Ruby because it makes you happy and you can meet business objectives faster and easier with it.