System Design Fundamentals

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

The thundering herd problem occurs when a popular piece of data expires from the cache, leading to a sudden surge in requests to the origin server to fetch the missing data. This can cause excessive load on the origin server and degrade performance

.....

.....

.....

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

· 2 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

· 4 months ago

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

Show 1 reply