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
As is known to us, redis cache is able to act as a LRU cache when no ttl is set. This means the key-value pair will be cached based on LRU strategy and they will not be invalidated even the ttl is expired.
However, the ttl of volos cache interface is set by default value 300 ms. For the memory cache, it has not such configuration for sure. Is it possible to extend volos cache for supporting this feature as well?
Bg,
Kevin
The text was updated successfully, but these errors were encountered:
Yes, I have considered that. In the end, I found it's more useful if the cache can persist in the redis according to LRU. Only those which are not used recently will be deleted if the maximum memory limit has been reached.
To be simple, you can define an option of cache interface for disabling ttl, can't you
Hello,
As is known to us, redis cache is able to act as a LRU cache when no ttl is set. This means the key-value pair will be cached based on LRU strategy and they will not be invalidated even the ttl is expired.
However, the ttl of volos cache interface is set by default value 300 ms. For the memory cache, it has not such configuration for sure. Is it possible to extend volos cache for supporting this feature as well?
Bg,
Kevin
The text was updated successfully, but these errors were encountered: