You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow-up issue to #871 and #3198.
Current ExpirationKCVSCache has it's own Cleanup thread which cleanups (invalidates) the cache using probabilistic approach with a fixed probability of 1 to 1000.
As a minimum we could use direct Caffeine features for such periodic invalidation as noted here.
That said, I would also recommend checking the current invalidation complexity of Caffeine cache. If it's small enough - we might benefit from removing probabilistic invalidation all together and call .invalidate directly. My thoughts on it are described here.
The text was updated successfully, but these errors were encountered:
This is a follow-up issue to #871 and #3198.
Current
ExpirationKCVSCache
has it's own Cleanup thread which cleanups (invalidates) the cache using probabilistic approach with a fixed probability of 1 to 1000.As a minimum we could use direct Caffeine features for such periodic invalidation as noted here.
That said, I would also recommend checking the current invalidation complexity of Caffeine cache. If it's small enough - we might benefit from removing probabilistic invalidation all together and call
.invalidate
directly. My thoughts on it are described here.The text was updated successfully, but these errors were encountered: