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

Cache has no eviction policy - when it fills up, it never changes #102

Open
prehor opened this issue Dec 10, 2016 · 2 comments
Open

Cache has no eviction policy - when it fills up, it never changes #102

prehor opened this issue Dec 10, 2016 · 2 comments

Comments

@prehor
Copy link

prehor commented Dec 10, 2016

It seems that geoip plugin has inconsistent cache size option:

@joewreschnig
Copy link

This seems to have come to pass because the cache is no longer an LRU cache for GeoIP2. So cache_size in lieu of lru_cache_size is probably correct and the documentation is incorrect. But there's also still an underlying problem of how to evict entries.

I've opened an issue with MaxMind to see if it's possible to implement an eviction policy in their default cache.

@prehor prehor changed the title cache_size or lru_cache_size? Cache has no eviction policy - when it fills up, it never changes Feb 21, 2019
@prehor
Copy link
Author

prehor commented Feb 21, 2019

The question which cache size argument we should use was resolved by @jsvd in #149.

We still have to solve the cache eviction, so I changed the subject of this issue.

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

No branches or pull requests

2 participants