Get 20% off all career paths from fullstack to AI
Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore advanced Rails caching techniques in this 34-minute conference talk that builds upon the foundational "Cache = Cash!" presentation from 2013. Begin with Rails caching fundamentals including fragment caching, Russian doll caching, low-level caching with Rails.cache, SQL query caching, and cache store options like memory store, file store, Memcached, and Redis. Discover the critical importance of cache hierarchies and understand how proximity to the CPU dramatically affects performance, from L1 cache access at 1 nanosecond to spinning disk access at 10 milliseconds—a 10-million-fold difference in speed. Learn practical optimization strategies including caching data as close to the CPU as possible, optimizing ActiveRecord for caching efficiency by storing essential attributes as JSON or lightweight data structures instead of full objects, minimizing unnecessary cache retrievals, and implementing cache preloading and warming techniques. Master when to use database-level caching through materialized views or denormalized tables versus network-based solutions like Redis, and gain insights into preventing performance bottlenecks by anticipating cache misses before they occur.
Syllabus
RailsConf 2025 Cache = Cash! 2.0 by Stefan Wintermeyer
Taught by
Confreaks