Skip to content

Clean cached data quickly #134

Answered by sathyaphoenix
wenhaocs asked this question in Q&A
Discussion options

You must be logged in to vote

if the intent is to drop all the cache at once on leader role change, have you tried doing cache reset and reinstantiating a new cache ? Can you stall reads briefly while the cache is being reset ? (assuming you will have to synchronize the cache instance in the call sites to pick up the right one with the concurrent purge)

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@wenhaocs
Comment options

Comment options

You must be logged in to vote
6 replies
@sathyaphoenix
Comment options

@wenhaocs
Comment options

@therealgymmy
Comment options

@sathyaphoenix
Comment options

@wenhaocs
Comment options

Answer selected by wenhaocs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #133 on April 20, 2022 20:30.