Tag: Redis
All the articles with the tag "Redis".
-
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.
-
API Rate Limiting: Fixed Window, Sliding Window and Token Bucket
Series: Backend Interview Mastery
Learn API rate limiting for backend interviews: fixed and sliding windows, token bucket, Redis atomicity, 429 responses, and trade-offs.
-
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.
-
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.
-
System Design Interview: Design a Rate Limiter
Series: System Design Interview Series
Master the rate limiter system design interview. Explore token bucket, leaky bucket algorithms, distributed rate limiting with Redis, and race conditions.