Skip to content

Can you configure distributed cache as only cache store? #165

Answered by jodydonetti
vsudhini asked this question in Q&A
Discussion options

You must be logged in to vote

I have seen cache tower lib dealing with cache stampedes when using distributed store (Redis) as mentioned here
https://github.com/TurnerSoftware/CacheTower#distributed-locking-via-redis
Not sure if this will apply to fusioncache.

Hi, I should've explained myself more clearly: the Cache Stampede prevention against the database is still there (so 1.000 requests coming in for the same piece of data would go to the database at most once), but not for the distributed cache itself.

This means that all the requests would go to the distirbuted cache (but, again, not to the DB) since without a local memory cache there would be no local state, so every request will need to read from the distribu…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@vsudhini
Comment options

@vsudhini
Comment options

@jodydonetti
Comment options

Answer selected by vsudhini
@vsudhini
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants