Earlier this year Gregg released a series of screencasts showing that Rails indeed ships with many of the tools that you need to scale your application. Since then more Rails applications have gone into production, additional techniques have been developed for optimizing performance, and more open source libraries have been published. In this talk he will first give a quick introduction for those just getting their feet wet with optimizing Rails applications. However, the majority of the talk...
View More
As phil karlton said, “there are only two hard things in computer science: cache invalidation and naming things.” despite enormous advances in the field of web development over the last five years, it remains difficult to use caching to allow sites to scale for expanding user bases. fortunately, the last few years have also seen the rise of javascript libraries that take a lot of the pain out of client-side programming. in this talk, we’ll explore techniques for making your sites feel faster,...
View More
In order to show how easy it is to configure Devver for a project, we've made a short screencast to walk you through the steps. We've used DataMapper as an example application. As you can see, it only takes a few minutes to set up Devver and then the specs complete in a fraction of the time. In fact, the whole process - setup and Devver run - takes less time than running 'rake spec'.
Use JavaScript to allow dynamic content in a page cache. In this episode I show you how to insert the user-specific content into a page through JavaScript
This is the second of two episodes where we learn the basics of Load Testing our web applications. In this episode we take a look at autobench, a tool that automates our httperf load tests, then we’ll figure out how to visualize our httperf results in a graph, and finally take a brief look at a few other Load Testing tools you might want to get familiar with.
Nick Zadrozny takes us on a tour of basic website performance optimization, covering 13 optimizations you shouldn’t deploy your site without. He’ll also go over some sample implementations for a typical Rails app, including a demo of how to serve your public assets from Amazon’s new CloudFront View More
Managing Ruby on Rails for High Performance by Bill Lapcevic
One way to improve performance is to cut down on the number of SQL queries. You can do this through eager loading. Learn all about it in this episode!
If you need to display the record count for a has_many association, you can improve performance by caching that number in a column.