There's more...
It is advisable to set a maxmemory value on production Redis Servers, this is extremely useful and important when deploying multiple Redis instances on the same host. Each instance is isolated in terms of memory usage and will not be impacted by other instances.
It is worth mentioning that the memory space of client buffers is also counted in the used_memory value. Therefore, you should not expect all the memory space to be used by data objects. It's worth mentioning that when the limit of maxmemory is calculated, both the slave output client buffer and the AOF buffer size are not taken into account.
Also, it is not recommended to set the maxmemory value too close to the available system memory size, because memory space should ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access