---
title: "Discussion on \"How to Fix the Thundering Herd (Cache Stampede) Problem\" | Hashnode"
description: "Discussion on \"How to Fix the Thundering Herd (Cache Stampede) Problem\". Stop cache expiration from crashing your database. Learn how to solve the thundering herd (cache stampede) problem using locking, single-flight, and Redis."
url: "https://hashnode.com/posts/solving-the-thundering-herd-cache-stampede/6a5e16a8de94cf7974d6aa2f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Fix the Thundering Herd (Cache Stampede) Problem](https://doogal.dev/solving-the-thundering-herd-cache-stampede?utm_source=hashnode&utm_medium=feed)

Stop cache expiration from crashing your database. Learn how to solve the thundering herd (cache stampede) problem using locking, single-flight, and Redis.

Jul 20 · 4 min read · doogal.dev  
Read the article

-   [#systemdesign](https://hashnode.com/tag/systemdesign)
-   [#caching](https://hashnode.com/tag/caching)
-   [#softwareengineering](https://hashnode.com/tag/softwareengineering)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

[Doogal Simpson](https://hashnode.com/@doogal)

@doogal

  
[View profile](https://hashnode.com/@doogal)

"hey doogal, what is .... ?"

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
