Interview Bootcamp
Vote

0% completed

Caching Challenges

Cache-related problems are a set of challenges that arise when implementing and managing caching systems in software applications. Here are the top cache-related problems and their possible workarounds:

1. Thundering Herd (also called Cache Stampede, or Dogpile)

All three names describe the same event, and you will meet all three in the wild, so treat them as one problem rather than three.

A popular key expires. The requests that arrive next all miss, and since none of them has the value, every one of them goes to the origin server for exactly the same thing

.....

.....

.....

Like the course? Get enrolled and start learning!
Vaishali Behere

Vaishali Behere

· 2 years ago

How does read through strategy help in cache stampede. Can it be explained a bit in detail?

Show 1 reply
Sourav Singh

Sourav Singh

· 3 years ago

What is the difference between Hot Key and Cache Stampede as issue both the case is about accessing same piece of data multiple time? Or this name is assigned based on the way the issue is handled?

Show 1 reply
Leon Sit

Leon Sit

· 2 years ago

In general, thundering herd problem is refering when a large number of processes or threads waiting for an event are awoken when that event occurs, but only one process is able to handle the event. I am not sure are there any meaning on caching.

But the thundering herd and stampede sound like the same thing describe in here.

Show 1 reply
Sid D

Sid D

· a year ago

How does it help

Mridul Dey

Mridul Dey

· 5 months ago

How implementing a read through cache helps in cache stampade(dogpile)?

Show 1 reply