Rails 4.1 Performance Fundamentals
Pluralsight
Course Summary
Speed up your Ruby on Rails 4.1 (and 4.0 and 3.2) applications. This course covers profiling techniques; making fewer, faster, database queries; Russian Doll caching; Turbolinks and more.
-
+
Course Description
Speed up your Ruby on Rails 4.1 applications. With the help of some gems, all techniques in this course can also be used in Rails 3.2 apps. This course teaches pragmatic, Rails-specific techniques to profile performance, find and fix slow database queries, get alerted automatically whenever you create an N+1 query, and simulate latency and low bandwidth. You'll also learn to take advantage of the browser's cache with ETags or time-based expiration, set up Memcached for server-side caching, speed up view rendering with fragment caching, cache nested fragments with Russian Doll caching, and use Turbolinks and pjax to give a multi-page app the responsiveness of a single-page app.
-
+
Course Syllabus
Introduction- 19m 20s
—Introduction 1m 37s
—Why Performance? 3m 31s
—Premature Optimization 1m 39s
—My Recommended Approach 5m 28s
—Performance Vs. Throughput Vs. Scalability 2m 9s
—Rails Performance on the Client Side, Server Side, and in Between 3m 4s
—Summary 1m 49sRuby 2.1- 22m 10s
—Introduction 0m 38s
—Copy-on-write Memory Sharing 2m 23s
—Generational Garbage Collection 1m 13s
—Faster Than 2.0 1m 0s
—Much Faster Than 1.9.3 1m 20s
—I Teach U App and Apache Bench 2m 46s
—Comparing 1.9.3 to 2.1.1 Using Apache Bench 7m 2s
—Memory Consumption in Ruby 2.1.0 and 2.1.1 4m 47s
—Summary 0m 57sRails Performance and the Database- 1h 2mBrowser Caching- 46m 44sFragment Caching- 37m 14sRussian Doll Caching- 31m 18sTurbolinks and pjax- 33m 36sConclusion- 7m 54s