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

Record Metrics Is Very Slow #42

Open
AgeManning opened this issue Nov 30, 2022 · 0 comments
Open

Record Metrics Is Very Slow #42

AgeManning opened this issue Nov 30, 2022 · 0 comments

Comments

@AgeManning
Copy link

I think this is probably related to #8 .

I was tracking down a bug in our plan and we were awaiting a series of client.record_metric() calls. There were quite a few of these, lets say like 50. It was taking 4 seconds and holding up the executor.

I assume the culprit is influx db. Currently I'm spawning this collection of calls in their own task, but I would expect writing to a db for <100 queries should take less than 4 seconds.

Raising for awareness.

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

1 participant