7 Nerd-Its - +

Ruby on Rails is Slow

Newspaper a current event article by Matthew Vea (VnutZ), published on 21 April 2008
tagged as ruby on rails, programming, and computing
a lone nerd has left 1 comment below

Ruby on Rails is a fast growing language and framework upon which modern web applications are being rolled out. However, despite its surging popularity, it continues to struggle with speed issues which has been one Ruby on Rail’s few stumbling blocks to garner an even more widespread user base. Tim Bray, the co-creator of XML and an advocate of Ruby on Rails, spoke in his keynote about Ruby performing up to twenty times slower than Java which is already scoffed at performance wise. Speakers at the Silicon Valley Ruby Conference discussed how the root cause of the lagging performance has yet to be determined. In the meantime, Ruby on Rails developers are left to optimizing and thinning their code along with utilizing every performance trick imaginable in order to eek out that extra edge of speed to compete with their PHP and .Net competitors.

Similarly tagged OmniNerd content:

Thread parent sort order:
Thread verbosity:

I take exception to the bit about Java being "already scoffed at performance wise".

Anybody who knows the details about Java’s performance knows that the performance of the JIT compilers distributed with every production-grade JVM make Java’s performance quite comparable to native code. Usually within a few percent.

This is especially true in a web-server environment, where virtually all of the code rapidly becomes resident, compiled binaries… exactly the environment in which Rails runs. So, saying Rails is twenty times slower than Java is pretty much the same as saying it’s twenty times slower than native binaries.

Moreover, since Rails is noted as competing with PHP and .NET, we ought to take note that those perform no better, and often worse than Java.

Finally, engineering – including engineering software – is always about tradeoffs. Space vs time, run time vs compile time, and so on. One advantage Rails has over PHP and .NET is that a Rails app can often be developed and delivered in far less time than a comparable PHP or .NET app. So you’ve got a tradeoff to consider – develop in PHP and spend more on programmers, or develop in Rails and spend more on production hardware.

Software rarely ever reaches "done". Most systems – again, especially web systems – are getting constant revisions, so those programmer costs aren’t a fixed cost, one-time thing, they’re ongoing. For one full time programmer, you can get about a half-dozen dedicated web servers at a hosting facility, so it can easily be a legitimate tradeoff.

OmniNerd Article Propagation

The Showcase

Nerd-Its   Nerd Trends   Last Ten  

  1. RE: The true solution in Scientology: We've had it with you
  2. Manic Fits in Scientology: We've had it with you
  3. RE: Busy guy in Catholic Exorcist Points Finger at Vatican
  4. RE: Why wouldn't it be a religion? Yes, but .... in Scientology: We've had it with you
  5. RE: cell phones in How To Beat Traffic Mathematically
  6. RE: The true solution in Scientology: We've had it with you
  7. RE: Actually... in Scientology: We've had it with you
  8. RE: Actually... in Scientology: We've had it with you
  9. RE: The true solution in Scientology: We've had it with you
  10. RE: The true solution in Scientology: We've had it with you

What is OmniNerd?

Omninerd_icon Welcome! OmniNerd's content is generated by nerds like you. Learn more.

Voting Booth

The Interstate Commerce Clause of the U.S. Constitution empowers Congress to regulate?

8 votes, 0 comments