Learn how to make Rails fast from a master

Stefan Kaes has been untiringly pushing for optimizations of Rails. Since the release of Rails 0.12.1, Stefan has lead an effort that made his own sample application no less than 4 times faster with Rails 0.14.×. Pretty impressive stuff.

Now he’s blogging about Rails performance in general at RailsExpress.blog. So be sure to subscribe to that feed if you care about a faster Rails. He already has suggestions and benchmarks up on sessions and pagination.

Typo theme contest: Win tons of stuff including a Powerbook

The Typo theme contest just got beefed up quite bit. Site 5 has offered a 15" Powerbook for the wining theme and a 12" iBook for number two. That’s on top of the truck load of other prices.

If you have any sliver of design skill in your bone, you’d be well advised to participate in this content. Oh, and the upshot is that Typo gets a legion of cool new themes out of it too. See, everybody wins!

Chinese Slashdotting of Rails

I’m guessing that the article is talking about the News.com feature today, the BBC announcement, and the fact that the Sun CEO was dropping us link love, but I’m not sure. No matter what, it’s pretty cool to get a Chinese Slashdotting.

Rails and Zvents on Digital Life TV

Tyler Kovacs, CTO of Zvents, had a great segment in the DigitalLife TV episode 10 where he got to showcase his Rails application and talk about Ruby on Rails and Ajax in general. Thanks a bunch for the kind words, Tyler. It’s great to see Rails getting some TV coverage.

Get 10-15% more performance with MySQL/Rails

Rails 0.14.x and forward contains a hefty performance increase for the MySQL adapter, but it requires that you have the latest version of the underlying, native bindings (2.7). On Stephan Kaes’ benchmark suite, the upgrade is 10-15%:

You can get the latest MySQL bindings with gem install mysql (or gem install mysql -- --include=/usr/local/lib on OS X). The additional speed upgrade will automatically kick in as soon as you have the latest bindings (to check, open the console, require ‘mysql’, puts Mysql::VERSION, and expect to see 20700).

UPDATE: If you’re on Windows, Justin Rudd went through the trouble of describing how to make it work there.

Don't be so arrogant

Some times you just need an outside opinion to achieve true clarity of vision. Thankfully, there’s always such an angel available when you need it the most:

Rails shows some promise but much, much more is needed. Sorry to say this but you need stored procedure support (I know that’s a sensitive subject), less coupling with the data schema, data-aware tags in XML format and more people to knock out serious bugs.

Don’t be so arrogant.

Thanks, Pearson. I don’t know how I could have somehow missed these essential features for so long. I mean, how can we expect to be taken serious before we have data-aware tags in XML format? And what is up with all that coupling with the data schema?!

Actually, I don’t think we can get that 1.0 out the door now. With this renewed vision for the true frontiers for Rails, I think we need at least a few months in the shop yet. Of course, we’ll use that time to get all those people to knock out our serious bugs.

This is indeed all for the best.