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
Hi all, I'm currently dealing with an increasing cache memory usage problem after scaling up our QPS. I'm currently using RMapCache, and have tried to increase the eviction rate using minCleanUpDelay, maxCleanUpDelay, and cleanUpKeysAmount. Currently I have these values set at 1, 10, and 100000 respectively, but increasing these seems to have no effect. Previously when we saw a similar issue, we had gone from the default values to 1, 60, and 1000 and saw recovery.
Pulling size() from the the map cache, there are currently around 144m keys, which I believe the vast majority are expired.
Is there some sort of max rate that is supported by these eviction tasks? Looking at this commit, it looks like it might be 5k entries per task, is that correct? Is that per Redisson client instance? And is there any way to increase that further? Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all, I'm currently dealing with an increasing cache memory usage problem after scaling up our QPS. I'm currently using RMapCache, and have tried to increase the eviction rate using minCleanUpDelay, maxCleanUpDelay, and cleanUpKeysAmount. Currently I have these values set at 1, 10, and 100000 respectively, but increasing these seems to have no effect. Previously when we saw a similar issue, we had gone from the default values to 1, 60, and 1000 and saw recovery.
Pulling size() from the the map cache, there are currently around 144m keys, which I believe the vast majority are expired.
Is there some sort of max rate that is supported by these eviction tasks? Looking at this commit, it looks like it might be 5k entries per task, is that correct? Is that per Redisson client instance? And is there any way to increase that further? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions