Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Lazy Defenses - Using Scaled TTLs to Keep Your Cache Correct

Strange Loop Conference via YouTube

Overview

Explore advanced caching strategies in this 38-minute conference talk from Strange Loop. Dive into the world of efficient data serving and learn how to balance availability with correctness in complex distributed systems. Discover the challenges of cross-data-center consistency, unreliable data stores, and race conditions in request paths. Begin with an overview of naive caching strategies, their benefits, and potential pitfalls, illustrated with real-world production examples from services-based architectures. Delve into the innovative concept of dynamically scaled TTLs as a defense against inconsistent cached data. Learn how scaling cache TTLs based on confidence values can significantly reduce cache inconsistency rates, even when dealing with slow backing stores and competing cross-data-center writes. Examine the abstractions that simplify implementation for service developers. Gain insights from the experiences of Twitter's User Service team, which handles millions of operations per second for user data read and write traffic. Whether you're an experienced developer fine-tuning your caching strategy or just starting to explore caching improvements, acquire immediately applicable practices to enhance your system's performance and reliability.

Syllabus

"Lazy Defenses: Using Scaled TTLs to Keep Your Cache Correct" by Bonnie Eisenman

Taught by

Strange Loop Conference

Reviews

Start your review of Lazy Defenses - Using Scaled TTLs to Keep Your Cache Correct

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.