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

Performance Issues related with high request call rates to T _host_get_clock_service #480

Open
sky-nunomarcos opened this issue Nov 19, 2021 · 2 comments

Comments

@sky-nunomarcos
Copy link

sky-nunomarcos commented Nov 19, 2021

I have been troubleshooting a node implementation that is currently using your lib to expose prometheus metrics and using clinicJS tool notices that almost 80% of total cpu usage time is spend in T _host_get_clock_service call. Already updated lib version to 14.0.1, but issues continues to be present.

Clinic Flamechart is this one:
imagem

Looking at your source code it can be related with Date.now(); requests performed in lib/timeWindowQuantiles.js or lib/metrics/processStartTime.js.

Do you have any suggestion on how to troubleshoot these issues and try to mitigate them?

Many Thanks for your help

@zbjornson
Copy link
Collaborator

Thanks for reporting this. I'm hoping to look into this this month, but please don't let that stop anyone else from taking a look if they have time before I do.

zbjornson added a commit that referenced this issue Jan 1, 2022
@timo-klarshift
Copy link

Any update on this? Due to the high resource usage of this library we cannot use it in production.

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

3 participants