System Design Fundamentals

0% completed

Cache Read Strategies

Here are the two famous cache read strategies:

Read through cache

A read-through cache strategy is a caching mechanism where the cache itself is responsible for retrieving the data from the underlying data store when a cache miss occurs. In this strategy, the application requests data from the cache instead of the data store directly. If the requested data is not found in the cache (cache miss), the cache retrieves the data from the data store, updates the cache with the retrieved data, and returns the data to the application.

.....

.....

.....

Like the course? Get enrolled and start learning!
Amer Zec

Amer Zec

· 2 months ago

I really think that even the way content for Caching is organized is completely confusing. Caching Strategies should be one section and then divided into two subsections: (1) Read-Intensive Caching Strategies - which would include the two you already have here on this page, plus Refresh Ahead (a.k.a. Prefetching) and (2) Write-Intensive Caching Strategies - which are currently bundled in Cache Invalidation section you have above in a very confusing way.

It almost seems that this was written by someone who is completely out of touch with Caching.

Show 1 reply
Ricardo Franco

Ricardo Franco

· 3 years ago

The read-through cache strategy can significantly improve performance in scenarios where data retrieval from the data store is expensive, and cache misses are relatively infrequent.

I think it should be when "cache misses are relatively frequent".

Show 2 replies
F

f

· 3 years ago

Can someone provide some examples on who (which product) uses "Read through cache"?

Show 1 reply
Sairaviteja Chintakrindi

Sairaviteja Chintakrindi

· a year ago

They look quite similar