Skip to content

FIFO cache is limited by the number of entries, but not by their total size #2316

@dmitsh

Description

@dmitsh

FIFO cache limits number of entries, regardless of their size. I would suggest using the total memory size of the cache as the threshold to trigger eviction. That way we will have better control over memory usage, and it will be easier to configure k8s resource requests/limits.
I can put together a PR, if this proposal will be accepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions