-
Notifications
You must be signed in to change notification settings - Fork 316
Closed
Description
Hi,
We are using cachelib in a storage system with RAFT consensus. We are thinking of a way to invalidate all cache items in the cache quickly on partition leader change, to avoid cache incoherence. Since it's leader change, the callback must finish quickly, maybe 1s.
I am wondering whether cachelib can (1) support removing all keys in the cache with one function call (2) do this quickly. Our goal is just to make sure those keys are not found when calling cache.find(). It may be achieved by clearing all meta data or data in cachelib.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels