Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] maxmemory as a percentage #13211

Open
pznamensky opened this issue Apr 15, 2024 · 0 comments
Open

[NEW] maxmemory as a percentage #13211

pznamensky opened this issue Apr 15, 2024 · 0 comments

Comments

@pznamensky
Copy link

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.

@pznamensky pznamensky changed the title maxmemory as a percentage [NEW] maxmemory as a percentage Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant