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

don't let redis save to disk #131

Open
wants to merge 1 commit into
base: 1.4.0
Choose a base branch
from

Conversation

noahwsmith
Copy link

We’ve found that this line “--save 20 1” instructs redis to save all of its data to the disk every 20 seconds. It also then makes it so it loads that data at boot. If that’s changed to --save "" it doesn’t save and it doesn’t load, it just exists in memory as long as the container is on (and a container restart is thus much faster). We’ve seen noticeable load decrease on servers especially around disk i/o with this setting off and I think it’s probably a better default.

The downside is that every container restart clears the Drupal cache, so perhaps folks should understand the tradeoffs in this setting.

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

Successfully merging this pull request may close these issues.

1 participant