And the Greatest of These Is ... Rack Support
Location: Ballroom A Audience level:
Over the past year, Rails has gradually become a better, more connected citizen within the Ruby web space. The Merb merger is one part of that, but one of the biggest steps came much earlier, when Rails added Rack support. In addition to the obvious benefits, Rack support in Rails has made possible some new application architectures that were either impossible or ill-advised previously. Specifically, it is now possible to build a complex Rails application that can still respond extremely quickly and directly to a specific set of requests, such as those an AJAX service might experience.
This capability has only been improved by the introduction of Rails Metal, and by the ability to integrate distinct Rack applications (for instance, Sinatra apps) with Rails projects. In this session, we’ll briefly review how to get this integration running, but the majority of the time will be spent exploring real examples of how this approach changes how applications can be built. We’ll see how this technique rehabilitates page caching, turning it from a narrowly-applied strategy to a general-purpose performance booster. We’ll also see how this approach can save an application from incredibly frequent but tiny requests that could otherwise bring it to its knees. Finally, we’ll address some general problems that may arise as this technique becomes more popular.
People planning to attend this session also want to see:
Ben Scofield is a development director at Viget Labs, where he builds Rails applications for Web 2.0 startups. He’s been using Ruby and Rails for over four years, and is the author of Practical REST on Rails 2 Projects, from Apress. He’s spoken at Railsconf, Rubyconf, Railsconf Europe, and more over the past few years. When he’s not hacking, he spends time with his wife and daughter, reads voraciously, and tries to make the world a better place for web developers everywhere.
Ben blogs at http://www.culann.com/ and http://www.viget.com/extend/.
Comments on this page are now closed.