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

Use groupcache for LRU cache #375

Merged
merged 1 commit into from
May 3, 2021
Merged

Conversation

bakins
Copy link
Contributor

@bakins bakins commented Apr 28, 2021

Addresses #362

Use a simple wrapper around groupcache LRU cache.

Signed-off-by: Brian Akins <[email protected]>
@matthiasr
Copy link
Contributor

This looks great! I wonder if there is a performance difference?

@matthiasr
Copy link
Contributor

Ah, I see, the hashicorp package does the same thing, so this should be as good or better.

@matthiasr matthiasr merged commit 2a6bbd7 into prometheus:master May 3, 2021
matthiasr added a commit that referenced this pull request May 3, 2021
with changelog for #375

Signed-off-by: Matthias Rampke <[email protected]>
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