Skip to content

Add Unified LRU memory-limiting generic cache #22359

Description

@mkleen

Is your feature request related to a problem or challenge?

We currently have three very similar cache implementations that combine LRU eviction with memory limits as mentioned in #20047 (comment) by @nuno-faria:

This results in duplicated logic and unnecessary maintenance overhead.

Describe the solution you'd like

These three implementations can be merged into one single generic cache implementation that supports all three use cases.

Activity

  1. added theissue type on May 19, 2026
  2. mkleen commented on May 19, 2026

    @mkleen
    ContributorAuthor

    take

  3. changed the title [-]Unify memory-limiting cache logic[/-] [+]Unify memory-limiting cache logic into one generic cache[/+] on May 19, 2026
  4. changed the title [-]Unify memory-limiting cache logic into one generic cache[/-] [+]Unify LRU memory-limiting cache logic into one generic cache[/+] on May 19, 2026
  5. changed the title [-]Unify LRU memory-limiting cache logic into one generic cache[/-] [+]Unify LRU memory-limiting caches into one generic cache[/+] on May 19, 2026
  6. mkleen commented on Jun 18, 2026

    @mkleen
    ContributorAuthor

    Closed by #22613

  7. changed the title [-]Unify LRU memory-limiting caches into one generic cache[/-] [+]Add Unified LRU memory-limiting caches into one generic cache[/+] on Jul 28, 2026
  8. changed the title [-]Add Unified LRU memory-limiting caches into one generic cache[/-] [+]Add Unified LRU memory-limiting generic cache[/+] on Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions