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

Make default worker channel buffer length configurable and optionally non blocking #1231

Open
bgcint opened this issue Oct 2, 2020 · 0 comments

Comments

@bgcint
Copy link

bgcint commented Oct 2, 2020

Is your feature request related to a problem? Please describe.
Under load or when recording a number of metrics, the worker channel buffer can fill up and block the calling code.
This line in particular, for record commands here

Describe the solution you'd like
It would be useful to make the channel buffer length configurable so that users can accommodate
varying load on an application.
It would also be interesting to make the operation optionally non blocking in cases where high load is a constant but metric collection could be a lossy operation.

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

No branches or pull requests

1 participant