Skip to content
Y
yTube.SITE v8.0.4
media / worlds / tools / internet oddities
YouTube / video information

The Redis Bug That Crashed Our Django Site

Video information, playback and saved actions.

The Redis Bug That Crashed Our Django Site

Description: We added Redis to make our Django store faster. Instead it caused two
production bugs — every customer saw the wrong price, and the next traffic
spike took the whole site down. Both came from the same tool we trusted to
help us. Here's exactly what happened, and the two one-line-ish fixes.

⏱️ Chapters
0:00 Two bugs, one cause: Redis
0:13 Our Django app & the slow query
0:23 Adding Redis (cache-aside)
0:38 The stale price bug
0:59 Fix #1 — clear the cache on save
1:27 The thundering herd (site crash)
2:00 Fix #2 — one request wins the lock
2:23 Recap

If this saved you a production incident, like 👍 and subscribe for more
backend failures explained simply.

#redis #backend #systemdesign Close description
      
Videos related to "The Redis Bug That Crashed Our Django Site"

Related videos are temporarily unavailable.

Try again, or come back later.