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

Bump memcache expiration #1640

Merged
merged 6 commits into from
Jul 4, 2016
Merged

Bump memcache expiration #1640

merged 6 commits into from
Jul 4, 2016

Conversation

jml
Copy link
Contributor

@jml jml commented Jul 4, 2016

We were getting memcache misses and they are probably due to entries expiring between fetching the keys from dynamo and performing the query to memcache.

This PR adds a flag for controlling expiration length and changes the default to be twice the default window.

In addition, it adds a MemcacheConfig struct, and passes the app.window flag through to the aws_collector, thus removing a lot of duplication of the magic number 15. I've also left some instrumentation in.


This change is Reviewable

@tomwilkie
Copy link
Contributor

LGTM

@jml jml merged commit d79a412 into master Jul 4, 2016
@jml jml deleted the bump-timeout branch July 4, 2016 15:55
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.

2 participants