Im new to Redis, i'm trying to set eviction policy
In Redis we can specify eviction policy in the conf file in case the cache size crosses maxmemory
specified
maxmemory-policy allkeys-lfu
What will happen if multiple keys have same least frequency . Will it delete all the keys or just enough to free up memory? If it deletes all keys what is the best way I can ensure that does'nt happen?
I configured my conf like this
maxmemory 230m
maxmemory-policy allkeys-lfu
I tried manually and it seems to clear up all the keys with the same frequency. (Not sure if misconfigured something). If this is the expected behaviour please explain why?