June 2010
1 post
Delivering good software is never easy. If it was people like me wouldn’t get to...
– Hammer Time (via Instapaper)
March 2010
1 post
2 tags
Awesome cover of an awesome song by an awesome band. Such a beautiful and devastating song. The Submarines » The Beatles - For No One
January 2010
1 post
5 tags
Where's the bloat: Tracking 'require' memory usage...
Among the other awesome things that Ruby Enterprise Edition’s inclusion of the RailsBench GC patch provides is the addition of the allocated_size method on Ruby’s GC constant.
Eric Lindvall recently devised a very clever use for this GC.allocated_size method:
If I wanted to see what was contributing to the large memory footprint of an application on startup, tracking how much...
August 2009
1 post
A quick way to find slow Rails actions
redsquirrel:
tail -10000 log/production.log | egrep "Completed in [0-9]{2,}"
via RailsMachine support
June 2009
1 post
4 tags
Using Screen to manage multiple persistent SSH...
In the scope of my work at Rails Machine, I manage a lot of servers. Thousands, even. That many servers means that I often have dozens of SSH connections open at a time; some tailing log files, some running top, vmstat, or the likes, and some just waiting at a shell prompt for a rapid fire command.
To make things more complicated, I’m not always in the same place all day. Between my home...