Tag: Caching
All the articles with the tag "Caching".
-
Cache Stampede: Avalanche, Penetration and Prevention
Series: Backend Interview Mastery
Learn cache stampede prevention for avalanche and penetration failures with TTL jitter, request coalescing, stale data, and Bloom filters.
-
Cache Invalidation Strategies: TTL, Events and Versioned Keys
Series: Backend Interview Mastery
Learn cache invalidation strategies for backend systems: TTLs, delete-on-write, event-driven updates, versioned keys, race conditions, and trade-offs.
-
Redis Architecture: Data Types, Persistence and Scaling
Series: Backend Interview Mastery
Learn Redis architecture through data types, persistence, replication, failover, clustering, and the production trade-offs behind fast in-memory systems.
-
Cache Eviction Policies: LRU, LFU, FIFO and TTL
Series: Backend Interview Mastery
Learn cache eviction policies including LRU, LFU, FIFO, and TTL. Choose a policy using workload patterns, memory limits, and production metrics.
-
Write-Through vs Write-Back Caching: Key Differences
Series: Backend Interview Mastery
Compare write-through vs write-back caching: write latency, durability, consistency, failure recovery, and when each cache write strategy fits.
-
Cache-Aside Pattern: Read and Write Flows Explained
Series: Backend Interview Mastery
Learn the cache-aside pattern, cache hit and miss flows, write invalidation, TTLs, stampede prevention, and production trade-offs.
-
What Is a CDN? How Content Delivery Networks Work
Series: System Design Foundations
What is a CDN? Learn how content delivery networks cache content at edge servers, reduce latency, and protect your origin from traffic spikes.
-
In-Memory Cache vs Distributed Cache Explained
Series: System Design Foundations
Compare in-memory cache vs distributed cache: speed, scalability, consistency, and when to choose Redis over a local cache.
-
What Is Caching? Why It Improves Performance
Series: System Design Foundations
What is caching? Learn how caches work, cache hits/misses, TTL, and common strategies (browser, CDN, Redis) to speed up apps.
-
System Design Interview: Distributed Cache Like Redis/Memcached
Series: System Design Interview Series
Master the distributed cache system design interview. Learn consistent hashing, eviction policies (LRU/LFU), and how to scale like Redis and Memcached.