Hello All,
I read an article a while back about performance in Ruby. I remember a
lot of talk about vast improvements in ruby 1.9.x (completely new
compiler code). I’m thinking about making the upgrade on my Redhat 5
server and I thought to offer up some questions… any opinions will
be appreciated.
Has anyone made that upgrade for their own rails server?
Yes, I have been using Ruby 1.9.1 in production for several months now.
Also, in your research, I would also take a look at JRuby and the glassfish
gem.
Will I need to do anything special to keep mongrel running?
I would recommend using Passenger or thin.
Has anyone noticed a significant performance boost in their rails apps
as a result of it?
Yes, I have noticed significant performance in Ruby code execution. However,
there’s no silver-bullet and Ruby language is only one part of the performance
puzzle. Also, you don’t want to go down the path of premature optimization.
Furthermore, it really depends on what you’re doing in your Rails application.
Was there any problems with rails code or custom code breaking down?
Rails code worked as expected being that Rails tests are run against both
Ruby 1.8.x and Ruby 1.9.1.
Good luck,
-Conrad