Addressing Common Performance Problems in Ruby on Rails

Posted by Daniel Butler Mon, 26 Jun 2006 09:54:00 GMT

Stefan Kaes, author of railsbench and blogger at RailsExpress.blog, has written an article at InfoQ, a site that tracks “change and innovation in the enterprise software development community”, addressing common performance problems in Ruby on Rails.

Stefan’s well-written article provides advice in the following areas:

  • Choosing a Session Container
  • Caching Computations During Request Processing
  • Perform Request Independent Computations at Startup or on First Access
  • Optimizing Queries
  • Avoiding Slow Helpers

His concludes with the following advice:

I’m convinced that Rails is an excellent web application development framework, usable for developing robust and also fast web applications, at increased productivity. Like all frameworks, it offers convenience methods, which can greatly improve your development speed and which are appropriate most of the time for most of your needs. But sometimes, when it’s necessary to squeeze out some extra requests per second, or when you are restricted to limited hardware resources, it’s good to know how performance can be improved.

Article: Common Performance Problems in Rails

Posted in  | no comments

Sponsored Links

Sponsored Links

Comments

(leave url/email »)

   Comment Markup Help Preview comment