Cache size and eviction #1071
-
Can you please clarifiy the below points. 1.Cache eviction vs cache expiry which takes precedence. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Thank you @ben-manes |
Beta Was this translation helpful? Give feedback.
-
Whcih one to recommented to use in configuration bean expireAfterWrite or expireAfterAccess, We have kubernetis nodes and multiple request invoke the API. Could you please suggesst which one is recommented to use. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
I don’t know, they are different policies, time-to-idle or time-to-live. I think TTL (expireAfterWrite) is more common, but it depends on what behavior you want.