Bullet: An Eager Loading Adviser Plugin

In Plugins

bullet.pngBullet 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.

bbox.pngSupport 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.

Post to Twitter Tweet This Post

Vaguely Related Posts (Usually)

One Comment Response to “Bullet: An Eager Loading Adviser Plugin”

  1. #1
    Ennuyer.net » Blog Archive » Rails Reading - Sept 21, 2009 Says:

    [...] Bullet: An Eager Loading Adviser Plugin [...]

Leave a Reply