opentelemetry-go icon indicating copy to clipboard operation
opentelemetry-go copied to clipboard

Callbacks should be parallel

Open MadVikingGod opened this issue 3 years ago • 5 comments

Currently, callbacks are executed serially. Before beta release we should determine a way to make callbacks parallel, and if there is any benefit to doing so.

A suggested solution is a pool of callback workers. This would stop a large number of go routines from executing at once.

MadVikingGod avatar Jul 21 '22 13:07 MadVikingGod

The specification definitely allows for it!

jmacd avatar Jul 29 '22 19:07 jmacd

Hi, can I pick this up? Also, could you provide some more details about getting started and specifically which callbacks are you referring to exactly?

Kaushal28 avatar Apr 10 '23 08:04 Kaushal28

Hey @pellared could you help me getting started with this issue? Thanks.

Kaushal28 avatar Apr 11 '23 05:04 Kaushal28

@Kaushal28 I guess it is about Asynchronous instruments callbacks. @MadVikingGod am I correct? This issue has been assigned to Go: Metric SDK (Post-GA) and I am not sure if it would be a good timing to work on it right now.

pellared avatar Apr 11 '23 08:04 pellared