performance episodes

#1
Mar 05

Caching with Instance Variables

Learn a quick way to improve performance. Just store the end result of an expensive command in an instance variable!
Download (5.4 MB, 2:06)
alternative download for iPod & Apple TV (3.5 MB, 2:06)
#22
Apr 23

Eager Loading

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!
Download (22.7 MB, 4:37)
alternative download for iPod & Apple TV (9.7 MB, 4:37)
#23
Apr 25

Counter Cache Column

If you need to display the record count for a has_many association, you can improve performance by caching that number in a column.
Download (18.8 MB, 7:18)
alternative download for iPod & Apple TV (10.7 MB, 7:18)
#89
Jan 21

Page Caching

Page caching is an efficient way to cache stateless content. In this episode I will show you how to cache the dynamic javascript we created last week.
Download (21.9 MB, 6:31)
alternative download for iPod & Apple TV (11.7 MB, 6:31)
#90
Jan 28

Fragment Caching

Sometimes you only want to cache a section of a page instead of the entire page. Fragment caching is the answer as shown in this episode.
Download (20.5 MB, 6:54)
alternative download for iPod & Apple TV (11.4 MB, 6:54)
#93
Feb 18

Action Caching

Action caching behaves much like page caching except it processes the controller filters. You can also make it conditional as seen in this episode.
Download (19.8 MB, 7:04)
alternative download for iPod & Apple TV (11.2 MB, 7:04)
#97
Mar 17

Analyzing the Production Log

In order to improve performance of your Rails application you need to find the bottlenecks. A great starting point is your production log. In this episode you will see how to use RAWK to analyze your log file and determine which controller actions take up the most processing time.
Download (8.5 MB, 5:55)
alternative download for iPod & Apple TV (7.7 MB, 5:55)
#98
Mar 24

Request Profiling

You can use profiling to determine where the performance bottlenecks are in specific Rails actions. Watch this episode for details.
Download (33.6 MB, 10:53)
alternative download for iPod & Apple TV (20.1 MB, 10:53)
subscribe:
sponsored by:
if you want to help:
required:
Get Quicktime Player