zio/zio-zmx

Explore Performance Optimization Opportunities

Closed this issue · 1 comments

Currently we convert the data we get from a ZIO application into an internal data model and then convert that data model back into messages we send to external services such as DataDog or StatsD. While all other things being equal this is best practice from a functional programming and domain modeling perspective, this adds overhead when we would like the collection of metrics to be very lightweight so that it adds as little overhead as possible to a ZIO application.

This ticket is to explore streamlining this data flow so that we convert directly from the events we receive from the ZIO application to the message format for the target application without these intermediate allocations, if possible.

Closed by #209.