Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from Feb 7, 2023

Conversation

AbhiPrasad
Copy link
Member

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 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