allkeys-lru vs allkeys-lfu for high-churn workloads
Eviction Policy Trade-offs When Redis reaches its maxmemory limit, the choice of eviction policy determines which data is purged to accommodate new writes. For workloads where memory is the primary binding constraint, two primary documented approaches exist for the entire keyspace: allkeys-lru and allkeys-lfu . Recency vs Frequency The allkeys-lru policy is