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

Question about performance #141

Open
wcauchois opened this issue Jul 17, 2019 · 1 comment
Open

Question about performance #141

wcauchois opened this issue Jul 17, 2019 · 1 comment

Comments

@wcauchois
Copy link

Hi, is there any information about the overhead/performance impact of using this library?

I'm interested as to whether it's something that could be used on every request of a high QPS service, or whether it's more intended to be used sparingly (for example, a great application of this seems like it would be tracing, and you typically trace some smaller proportion of requests).

@Qard
Copy link
Collaborator

Qard commented Jul 19, 2019

This was pulled out of the New Relic APM agent, and has been used in several other APM agents too, so yes, it's usable in that sort of scenario. However, async_hooks-based CLS implementations like cls-hooked are probably better these days.

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

No branches or pull requests

2 participants