Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Add overflow mb limit to the client #8

Open
norberttech opened this issue Jul 8, 2019 · 0 comments
Open

Add overflow mb limit to the client #8

norberttech opened this issue Jul 8, 2019 · 0 comments
Milestone

Comments

@norberttech
Copy link
Contributor

Currently there is no limit on how large telemetry client queue can grow. If used in some long running backend processes it can even cause memory overflow that could break the process.

I think we should look for a way to tell client to do auto flush when queue size is greater than 5mb (this value should be configurable).

To reduce resource consumption we can try to calculate each new entry size and then just increase the current size pointer in the client.

@norberttech norberttech added this to the 1.0 milestone Jul 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant