Skip to content

fix(node): Add lru cache to http integration span map#7064

Merged
AbhiPrasad merged 2 commits intodevelopfrom
abhi-lru-cache-span-map
Feb 7, 2023
Merged

fix(node): Add lru cache to http integration span map#7064
AbhiPrasad merged 2 commits intodevelopfrom
abhi-lru-cache-span-map

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Contributor

In order to prevent unbounded memory pressure let's make the createSpanUrlMap in the Http integration an lru cache, and fix it to 100 URLs. 100 should be enough to justify the existence of this, but not enough to use a lot of memory.

fixes #7060

@AbhiPrasad AbhiPrasad requested review from lforst and mydea February 6, 2023 13:09
@AbhiPrasad AbhiPrasad self-assigned this Feb 6, 2023
@AbhiPrasad AbhiPrasad merged commit 42d4d4b into develop Feb 7, 2023
@AbhiPrasad AbhiPrasad deleted the abhi-lru-cache-span-map branch February 7, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable createSpanUrlMap

3 participants