Redis: inspect memory and eviction
When Redis slows down or evicts keys, inspect memory and policy.
redis-cli INFO memory
redis-cli CONFIG GET maxmemory
redis-cli CONFIG GET maxmemory-policy
Verify the result
used_memory_peak and evicted_keys are the first clues.