Graylog2 / Graylog2/graylog2-server
Switch lookup table cache implementation to support per-key TTL
Open
improvement
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
To properly support data adapters that can indicate expiration times, such as DNS, HTTP cache headers etc, our in-process cache should natively support per-key TTL eviction, too.
It would in theory be possible to build it on top of Guava, but that would neither be efficient nor trivial to build.
One obvious candidate to switch to is https://github.com/ben-manes/caffeine
Contributor guide
Assessment
This issue has not been assessed yet.