The default eviction policy for Redis is 'volatile-lru', which evicts the least recently used keys that have an expiration set when memory limits are reached. To change the eviction policy, the maxmemory-policy configuration directive can be set to one of the available policies, such as 'noeviction', 'allkeys-lru', or 'volatile-lfu'.
Last verified: 10/30/2025
Sources:
Knowledge provided by NewFacts.
If any information on this page is erroneous, please contact hello@newfacts.org.
NewFacts content is verified by brands themselves. If you're a brand owner and want to claim your page, please click here.