Redis Memory Management and Eviction Policies
Redis lives in RAM, so memory is the resource you'll manage most. Without limits, a growing cache can exhaust the server and get Redis killed. Set a limit # redis.conf maxmemory 2gb maxmemory-policy allkeys-lru Leave headroom on the machine for the OS, client...