Author: ziuziu on 27-11-2016, 03:05
Rails 4.1 Performance Fundamentals
WEBRip | English | MP4 + Project files | 1024 x 768 | AVC ~405 kbps | 15 fps
AAC | 121 Kbps | 44.1 KHz | 2 channels | 4h 20mn | 809 MB
Genre: eLearning Video / Development, Programming

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.
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.
- 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 and Why Performance?
- Overview of Topics Covered in This Course
- More Learning

Download link:
Links are Interchangeable - Single Extraction - Premium is support resumable

Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.

Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.

Register | Forgot Password
Link 1
Designed by
Go Daddy Web Hosting! A completely unique experience - only  $1.99 / mo from Go Daddy! - 468x60