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

Increase default Redis maxmemory to be higher than 100MiB #945

Open
seanhamlin opened this issue Feb 27, 2024 · 0 comments
Open

Increase default Redis maxmemory to be higher than 100MiB #945

seanhamlin opened this issue Feb 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@seanhamlin
Copy link
Contributor

seanhamlin commented Feb 27, 2024

By default a redis pod will spawn with a very conservative amount of RAM that can be used. Sure it can be extended with an environment variable, but we are seeing multiple people running 100MiB in production, and experiencing extremely poor cache hit rates (I have seen as low as 14%). This metric is also not very visible to application developers (requires redis-cli commands in the container).

Suggestion

Increase the default Redis maxmemory to 400MiB.

maxmemory ${MAXMEMORY:-400mb}

400MiB was chosen as this is 4x the current limit.

@seanhamlin seanhamlin added the enhancement New feature or request label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant