Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Heavy lock contention in multithreaded environments #71

Open
amoerie opened this issue May 14, 2019 · 0 comments · May be fixed by #72
Open

Heavy lock contention in multithreaded environments #71

amoerie opened this issue May 14, 2019 · 0 comments · May be fixed by #72

Comments

@amoerie
Copy link

amoerie commented May 14, 2019

We use this library in a heavily multithreaded environment, and noticed that in heavy loads, this library introduces very serious lock contention issues in the IntervalBatcher class, which locks around the internal queue when enqueuing or emitting.

This eventually leads to 100% CPU usage on our servers, each of them waiting for this Influx client to release its locks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant