Make elan read from redis (and a bunch of other improvements to redis). #307
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR makes elan read from Redis before hitting the bucket, so we can save on bucket operations. It does not make it write to redis as we were worried it would highly increase the number of evicted keys. We might experiment with that in the future.
There are a bunch of additional improvements to the redis config as well:
//redis
;Those additional changes came in as I faced the issues they are trying to address. They are completely separate from the elan change and could be moved to a separate PR. If you think this PR is too big, I'm happy to split it.