MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Rails 4.1 Performance Fundamentals

Course Summary

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


  • +

    Course Syllabus

    ● 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

     


Course Fee:
USD 29

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top