Tag: Redis
All the articles with the tag "Redis".
-
Redis Goes Down: Should the Application Fail?
Series: Backend Interview Mastery
Design a graceful Redis outage response for a backend interview: cache fallback, sessions, locks, persistence, and recovery.
-
Distributed Locks: Leases, Failure Modes and Safe Use
Series: Backend Interview Mastery
Learn distributed locks with leases, fencing tokens, Redis, ZooKeeper, database locks, failure modes, and safer alternatives.
-
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.