Golang implementation of Graphite/Carbon server with classic architecture: Agent -> Cache -> Persister
MIT License
801
stars
126
forks
source link
optimisation(carbonserver): separate grpc expandedGlobsCache from findCache into a separate one, and restore response caching in findCache; and use expandedGlobsCache in http find/render #520
it's initialised without memory limit, same as find response and render response caches. Might be worth to review this in future for all 3 caches.
there is no toggle to disable this cache, it can be added later if needed.
4 graphite metrics are introduced for visibility into cache performance:
find_expanded_globs_cache_hit
find_expanded_globs_cache_miss
render_expanded_globs_cache_hit
render_expanded_globs_cache_miss
This is expected to speed up http renders.
A few points about the new cache: