Graylog2 / Graylog2/graylog2-server

Switch lookup table cache implementation to support per-key TTL

Open
#5,069 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.