Windy City Rails 2011

Saturday, September 17, 2011

I suppose I’ve been too busy to write lately about several events, including Windy City Rails This will have to be based mostly on my notes, so it might be a little bit dry.

Dr. Nic Williams opened things up with a talk on “High Performance Ruby”. He said evented structure is good for arranging I/O, while threaded is for doing work. You don’t want to deal with these directly of course, so he recommended (repeatedly) using Nginx, jRuby, and Trinidad.

John McCaffrey broke down Faster Page Performance into a number of different sections. You might have trouble with page load: look at yslow, pagespeed, and others. It might be your application: look at logs, profilers, n+1 queries and using ‘includes’. It might be the database: hit the logs again, use ‘explain’, and try out the percona toolkit. Most common issues are too many queries, missing indexes, or doing too much at once. For front-end heavy apps, check out the book “High Performance Javascript”, watch out for repaint and reflow triggers, and take a look at jsperf.com.

Tom Preston-Werner dwelled on documentation. He promoted readme-driven-development, but renames it to Spec.md – a useful trick which allows the readme to reflect what is actually implemented. He believes in minimal rubygem overhead, recommending RakeGem over things like Jeweler. He also has his own code documentation standard tomdoc Things he wants to know include: What does it do? Is it public? What does it return?

I spent most of the afternoon in the hack lab, fixing a bug in the chat server, and then finding there wasn’t a lot of time left in the day. I saw the longer version of Steve Klabnik’s Software Composition, though it wasnt’ substantially different from the Madison Ruby version On the other hand, in the intervening weeks I’ve added Steve Klabnik’s blob to my feeds, as he seems to be writing a lot good stuff.

Posted Wednesday, October 5th, 2011 under Conference.

Comments are closed.