grafana / grafana-app-sdk

An SDK for developing apps for grafana using kubernetes-like storage and operators

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve Informer Memory Performance

IfSentient opened this issue · comments

Currently, memory usage by an informer scales linearly with total objects, as watched objects are stored in an in-memory cache for use in determining changes. To improve the performance and resource usage of informers for large volumes of objects, we should allow caching to be pushed to an external source (such as memcached or redis), or allow for no caching at all (most useful with the reconciler pattern, which does not receive prior state information).