Bullet: An Eager Loading Adviser Plugin
Bullet is a new Rails plugin (developed by Richard Huang) that helps you reduce the number of queries your Rails app makes, thus increasing its performance.
Essentially, Bullet "watches" the queries your Rails app makes through ActiveRecord and notifies you as to where you should add eager loading or where eager loading is being taking place but not providing any benefits (so you can disable it). It's advised you run Bullet only in development mode while you're working on the app as it's principally for the developer's use.
Bullet's README goes into detail on its operation. By default it does nothing, so you have some options to turn on to get the effect you want.
Support from: Brightbox; - Europe's leading provider of Ruby on Rails hosting. Now with Phusion Passenger support, each Brightbox server comes with access to a managed MySQL cluster and redundant SAN storage. Brightbox also provides managed services for large scale applications and dedicated clusters.
September 21st, 2009 at 3:05 pm
[...] Bullet: An Eager Loading Adviser Plugin [...]