Pluralsight - Rails 4.1 Performance Fundamentalsseeders: 3
leechers: 8
Pluralsight - Rails 4.1 Performance Fundamentals (Size: 809.35 MB)
DescriptionSpeed 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. Authored by: Brian Morearty Duration: 4h 20m Level: Beginner Released: 7/4/2014 http://www.pluralsight.com/training/Courses/Description/rails-4-1-performance-fundamentals CONTENT: Introduction - Introduction - Why Performance? - Premature Optimization - My Recommended Approach - Performance Vs. Throughput Vs. Scalability - Rails Performance on the Client Side, Server Side, and in Between - Summary Ruby 2.1 - Introduction - Copy-on-write Memory Sharing - Generational Garbage Collection - Faster Than 2.0 - Much Faster Than 1.9.3 - I Teach U App and Apache Bench - Comparing 1.9.3 to 2.1.1 Using Apache Bench - Memory Consumption in Ruby 2.1.0 and 2.1.1 - Summary Rails Performance and the Database - Introduction - Profiling, X-Runtime, and the Browser's Network Debug Panel - The Rails Log - Pagination and Kaminari - Missing Indexes and Lol_dba - Bullet, N+1 Queries, and Counter Caches - Rack-Mini-Profiler and Flamegraphs - Select and Pluck - The Query Cache - New Relic and Rails Panel - Do Not Order By :created_at - Making Multiple Writes? Use a Transaction - Iterating Over Tons of Rows? Use find_each - Summary Browser Caching - Introduction and HTTP Headers - Last-Modified and If-Modified-Since - ETag and If-None-Match - Cache-Control and Max-age - Rack::ETag and Rack::ConditionalGet - stale? and fresh_when? - Declarative ETags and the ETagger Gem - Setting Cache-Control: max-age With expires_in - Disable Middleware that Modifies the Body - Demo - Summary Fragment Caching - Introduction and Cache Stores - Setting Up Memcached in Rails and for Development - Fragment Caching - Fragment Caching With Array as Cache Key - Fragment Caching a Paginated List - Hash as a Fragment Cache Key - Cache Expiration Strategies, From Best to Worst - Cache Key Includes a Digest of View Contents - Demo: Fragment Caching the Index Pages - Demo: Fragment Caching the Show Pages - Benchmark Results From Fragment Caching - Summary Russian Doll Caching - Introduction to Russian Doll Caching - Hiding Links - Time Zones - Increasing Cache Hits - Helping Rails Know What Partial was Used - Demo: Implementing Russian Doll Caching - Benchmark Results From Russian Doll Caching - Summary Turbolinks and pjax - Introduction and the Responsiveness Myth - Installing Turbolinks - How Turbolinks Works - Third Party Plugin Compatibility and jQuery Turbolinks - Bind $(document) Events Outside 'ready' - All Scripts in 'body' are Evaluated - Opt Out for Selected Links - Testing Turbolinks - Demo: Benchmarking Turbolinks - Transition Cache - pjax - Summary Conclusion - Conclusion and Why Performance? - Overview of Topics Covered in This Course - More Learning SCREENS: Sharing Widget |