You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem/use-case that the feature addresses
We have several Redis servers instances on servers with different available RAM.
Sometimes scale them up or down. Each time amount of RAM changes, we have to tune maxmemory as well.
It would be more convenient to set this value based on the percentage of available RAM.
Description of the feature
It might be helpful to add maxmemory-percent or similar with the value in percentage out of available RAM (without swap if exists) which will be used as maxmemory
Alternatives you've considered
Use IaC tools, cloud-init, PreStart commands to calculate maxmemory.
It's not very straightforward and very convenient though.
The text was updated successfully, but these errors were encountered:
pznamensky
changed the title
maxmemory as a percentage
[NEW] maxmemory as a percentage
Apr 15, 2024
The problem/use-case that the feature addresses
We have several Redis servers instances on servers with different available RAM.
Sometimes scale them up or down. Each time amount of RAM changes, we have to tune
maxmemory
as well.It would be more convenient to set this value based on the percentage of available RAM.
Description of the feature
It might be helpful to add
maxmemory-percent
or similar with the value in percentage out of available RAM (without swap if exists) which will be used asmaxmemory
Alternatives you've considered
Use IaC tools, cloud-init, PreStart commands to calculate
maxmemory
.It's not very straightforward and very convenient though.
The text was updated successfully, but these errors were encountered: