Skip to content

Limited Cache Sizes  #886

Closed
Closed
@csviri

Description

@csviri

Currently informers and other provided event source implementations cache all the received resources. This could lead to very high memory consumption. In that case what could be done is limit the cache sizes and/or how long a resource is cached.

Ideally an approach for cache limiting like one supported by caffein could be quite efficient. Like evicting the objects which were not accessed (like read or write not happened lately) for a longer time will be evicted.

To make this transparent we need a more extended layer over EventSource, where there is a API to reading the object either from the cahce (if the object is there) or from the target API itself.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions