elastic / elastic/apm-server

Agentcfg elasticsearch fetcher cache update performance improvement

Open
#9,930 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
1.3k
Forks
543
Avg merge
1d 18h
Merged PRs (30d)
109

Description

Agentcfg ElasticsearchFetcher implemented in #9720 keeps 2 copies of agent configs in memory during refresh cache in order to minimize time holding the cache write lock. There may be room for performance improvement if we update the cache in-place, given that agent config does not always change and the refresh cache is run regularly (currently every 30s).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.