Rails Performance Link Fest

I have read most of the articles out there regarding Rails performance. Performance-minded railers list fragment caching, normalize database design, proper use of indices, and the exclusion of unnecessary columns from large tables in active record models as providing a beneficial performance boost for any Rails application. These railers also warn against excessive use of route url recognition and generation, eager loading, and slow application helpers.

The following list is a collection of the best articles, blog posts, presentations and discussions on Rails performance. Feel free to add any site that I might have missed in the comments!

Rails Performance Tips
Common Performance Problems in Rails – Pros and con between SQLSessionStore and MemChacheStore session containers, tips on optimizing queries, and general information regarding how to avoid slow helpers.
The Adventures of Scaling: Stage 1, Stage 2, Stage 3, Stage 4 – A detailed explanation a Rails production architecture.
Optimizing Rails Resource Usage – A short list of top Rails optimization tips, which include the proper use of caching.
Sustainable Performance with Ruby on Rails – A 58 page PDF presentation describing railsbench, caching, session performance, and efficient Ruby code.
Rails performance tips – A discussion on eager loading, excluding unnecessary columns, indexing database columns, and caching.
Top 10 Ruby on Rails performance tips – Provides great tips to optimize your ruby code and how to handle finders.
Performance related changes in Rails 1.1 – Discussion of performance enhancements in rails 1.1.
Rails performance and caching, Part 2 – A discussing of Rails performance using caching.
Stefan Kaes – Rails Performance – RubyConf 2006 conference notes on the Rails Performance presentation given by Stefan Kaes.
Stefen Kaes – Optimizing Rails – Another post on the Rails 2006 presentation by Stefan Kaes on Rails Performance.
Rails performance with FastCGI and Apache – A blog post on performance with Apache.
Rails Performance Tool Box – A list of tools that come in handy when optimizing a Ruby on Rails application, which include query analyzer, query trace, and mtop.
Rails Caching Documentation – Documentation for action, page, and fragment caching.
The effect of using Rails fragment caching – Goes over the performance boost of using fragment caching.

Rails Performance Tools
Query Builder Plugin – Bypass the overhead of construct_finder_sql.
QueryTrace Plugin – Helps to identify the location/caller of bad queries.
MySQL Query Analyzer Rails Plugin – Helpful to analyze SQL queries.
Rails Log Analyzer – Reads the Rails log files and exposes potential points of optimization.
Railsbench – “A small collection of ruby and shell scripts which make measuring raw performance of rails apps a snap.”

Technorati Tags: , , , , , , , , , , , , , , ,

Enjoy. Share. Be Happy.
  • Twitter
  • Facebook
  • StumbleUpon
  • del.icio.us
  • Tumblr
  • Google Bookmarks
  • FriendFeed
  • Yahoo! Buzz
  • Reddit
  • Digg
  • HackerNews
  • Suggest to Techmeme via Twitter
  • LinkedIn
  • Ping.fm
  • Identi.ca
  • Mixx
  • Furl

Related posts:

  1. Rocking Rails Link Fest
  2. Graphs Rails Plugin
  3. Ratings On Rails
  4. Top 11 Rails Plugins
  5. Ruby On Rails Controller Path

This entry was posted in Programming, Ruby, TechKnow. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. Posted March 3, 2007 at 8:04 pm | Permalink

    Few of these articles talk about how to actually measure the performance techniques they advocate.

    I’ve put together a screencast with Zed Shaw that shows how to use httperf to benchmark your full Rails stack. In addition, it talks about some basic statistics you need to know in order to be able to accurately interpret the numbers that httperf (or any benchmarking tool) gives you.

    http://peepcode.com/products/benchmarking-with-httperf

3 Trackbacks

  1. By Making Rails go Vrooom on July 19, 2007 at 7:44 am

    [...] Maybe some kind of refactoring on these methods could be a good idea for the community as a whole? This page aggregates a lot of other sources of information on Rails optimization, including lists of [...]

  2. By Bookmarks for March 13th on March 13, 2008 at 9:05 pm

    [...] [from jashmenn] Rails Performance Link Fest – A nice set of links on Rails performance [...]

  3. [...] Juixe TechKnow » Rails Performance Link Fest all collection of ruby and shell scripts which make measuring raw performance of rails apps a snap.” (tags: activerecord benchmark cache caching deployment development rails optimization) [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*