Explore Library
System Design & ArchitectureCaching Strategies

92 items

1

What Caching Is & When to Use It

Flashcard
2

Redis Cache-Aside Serialization Bug

Code Quiz
3

Redis Distributed Cache Consistency

Quiz
4

Cache-Aside Write Invalidation Bug

Code Quiz
5

What Caching Is & When to Use It

Slides / Video
6

Cache Invalidation on Update

Code Quiz
7

In-Memory vs Distributed Cache

Quiz
8

Cache TTL Expiry Bug

Code Quiz
9

Cache Hits, Misses & TTL Basics

Quiz
10

Redis Fundamentals for Caching

Slides / Video
11

Redis Fundamentals for Caching

Flashcard
12

Caching Plus Database Scaling

Slides / Video
13

Caching and Database Scaling

Flashcard
14

Cache Hit Ratio Formula Bug

Code Quiz
15

Cache Warming and Preloading

Slides / Video
16

Cache Consistency and Staleness Trade-offs

Slides / Video
17

Read-Through Caching

Quiz
18

Write-Back Caching Trade-off

Quiz
19

Write-Around Caching

Quiz
20

TTL and Expiration

Quiz
21

Cache Invalidation Goal

Quiz
22

Cache Stampede Problem

Quiz
23

Cache Avalanche

Quiz
24

Caching Location Types

Quiz
25

Consistency vs Staleness

Quiz
26

HTTP ETag Header

Quiz
27

Redis vs Memcached

Quiz
28

Cache Warming

Quiz
29

Cache Penetration

Quiz
30

LRU Eviction Policy

Quiz
31

Hot Key Problem

Quiz
32

Multi-Level Caching

Quiz
33

Cache Sizing Trade-off

Quiz
34

Cache Hit Ratio

Quiz
35

Cache-Aside Pattern Basics

Quiz
36

Write-Through Caching

Quiz
37

Cache Penetration, Breakdown, and Avalanche

Slides / Video
38

Cache Stampede and Mitigation

Slides / Video
39

Distributed Caching and Cache Partitioning

Slides / Video
40

In-Memory Caching: Redis vs Memcached

Slides / Video
41

CDN and Edge Caching

Slides / Video
42

Client-Side and Browser Caching

Slides / Video
43

LRU Recency Update

Code Quiz
44

LFU Frequency Counter

Code Quiz
45

CDN Cache-Control Header

Code Quiz
46

Local vs Remote Cache Sizing

Code Quiz
47

Avalanche Staggered Expiry

Code Quiz
48

Cache Penetration Guard

Code Quiz
49

Stampede Lock Guard

Code Quiz
50

Invalidate On Update

Code Quiz
51

TTL Expiration Check

Code Quiz
52

FIFO Eviction Order

Code Quiz
53

Distributed Cache Coherence

Code Quiz
54

Consistent Hashing Ring

Code Quiz
55

Write-Through Ordering

Code Quiz
56

Write-Back Flush

Code Quiz
57

Write-Around Pattern

Code Quiz
58

Cache-Aside Lazy Loading

Code Quiz
59

Read-Through Cache Loader

Code Quiz
60

Cache Invalidation Strategies

Slides / Video
61

TTL and Cache Expiration Strategies

Slides / Video
62

Cache Eviction Policies: LRU, LFU, FIFO

Slides / Video
63

Multi-Level Caching

Flashcard
64

Cache Hit Ratio

Flashcard
65

Distributed Caching

Flashcard
66

Cache Replication & HA

Flashcard
67

Client-Side / Browser Caching

Flashcard
68

Cache Consistency

Flashcard
69

Cache Sizing and Memory

Flashcard
70

CDN / Edge Caching

Flashcard
71

TTL and Expiration

Flashcard
72

Write-Back (Write-Behind)

Flashcard
73

Read-Through Cache

Flashcard
74

Cache Eviction Policies

Flashcard
75

Cache Stampede

Flashcard
76

Cache Avalanche

Flashcard
77

Hot Keys and Load Distribution

Flashcard
78

Write vs Read Optimization Trade-offs

Flashcard
79

Cache-Aside (Lazy Loading)

Flashcard
80

Write-Through Cache

Flashcard
81

Write-Around Cache

Flashcard
82

Cache Invalidation Strategies

Flashcard
83

Cache Penetration

Flashcard
84

In-Memory Local Caching

Flashcard
85

Cache Warming / Preloading

Flashcard
86

Write-Around Caching Pattern

Slides / Video
87

Write-Back (Write-Behind) Caching Pattern

Slides / Video
88

Write-Through Caching Pattern

Slides / Video
89

Read-Through Caching Pattern

Slides / Video
90

Cache-Aside (Lazy Loading) Pattern

Slides / Video
91

Cache Hit, Miss, and Hit Ratio

Slides / Video
92

What Caching Is and Why It Helps

Slides / Video
QuizAdvanced

In-Memory vs Distributed Cache

Understand why distributed caches like Redis are preferred over local in-memory caches in multi-server deployments.

You run an app across 3 servers, each with its own local in-memory cache. A user updates their profile on Server 1, which invalidates its cache. Why might users still see stale data?