In our practice, the production environment's ops is often quickly goes up and down and there will be tremendous key evictions when ops rises rapidly due to many user buffers. We're seeking a way to solve this. Maybe we should distinct keyspace used memory from other uses. related issue: #4438 #4496 #4213

By the way we're using version 3.0.7 and 4.0.11. I had a glance at version 5, but there seems no changes about this.

Comment From: haorenfsa

the graphs of this situation:

The tremendous key evinction happened on about 15:00 and 21:00

OPS

Redis Tremendous key evictions when ops rises rapidly due to many user buffers

used memory of each instance of 2gb max memory

Redis Tremendous key evictions when ops rises rapidly due to many user buffers

used memory of the whole cluster

Redis Tremendous key evictions when ops rises rapidly due to many user buffers

evicted keys per second

Redis Tremendous key evictions when ops rises rapidly due to many user buffers

Comment From: haorenfsa

see #4583