Showing posts with label RoR. Show all posts
Showing posts with label RoR. Show all posts
Ruby on Rails
Posted On Sunday, September 13, 2009 at at 12:52 AM by LokeshRecently I was working on a XML feed generation task in a RoR project. I did a cursory performance analysis recording file size against time. The interesting thing was the time taken to generate file increased exponentially with increasing file size. So I decided to compare ruby's performance against Lava, C, C++, Scala and Javascript. I have tabulated the results of the benchmark tests from http://shootout.alioth.debian.org.
The results were surprising though hardly any N Body solutions would be implemented with Ruby in reality (included just for visualising performance @ heavy computation load).
I realized that RoR is ideal for projects that don't have computation heavy / memory intensive operations in backend. Or even, we can build such backend systems in other languages that are cpu & memory efficient and have frontend built with RoR. We shouldn't be expecting RoR to do that.
I am not undermining RoR but I think we should contemplate on nature of the system that we will be building.
I realized that RoR is ideal for projects that don't have computation heavy / memory intensive operations in backend. Or even, we can build such backend systems in other languages that are cpu & memory efficient and have frontend built with RoR. We shouldn't be expecting RoR to do that.
I am not undermining RoR but I think we should contemplate on nature of the system that we will be building.