Announcing Palmist

Posted: May 14th, 2008 | Author: Daniel Higginbotham | Filed under: Projects, Rails | 13 Comments »

A Handy Tool for Finding and Fixing MySQL Bottlenecks

Purpose: Help find and fix mysql bottlenecks in Ruby on Rails
Read the rest of this entry »


Chunky Iterator: So You Don’t Have to Load All Your AR Objects at Once

Posted: May 12th, 2008 | Author: Daniel Higginbotham | Filed under: Rails | 14 Comments »

The following code lets you iterate over large collections of Active Record objects without having to load them all at once, thus reducing memory usage. It’s allowed me to run cron jobs which iterate over thousands of records without getting the cron’d process killed for using too much of a system’s resources.
Read the rest of this entry »