zio / zio-zmx

Monitoring, Metrics and Diagnostics for ZIO
https://zio.github.io/zio-zmx/
Apache License 2.0
85 stars 47 forks source link

Optimise Protocol between server / ScalaJS client #324

Closed atooni closed 2 years ago

atooni commented 3 years ago

At the moment we are publishing each change even though the graphs are only updated every x seconds. It would be good to build the Metrics summaries on the server and only send the updates when they are really needed.

Also we would like to send only those metrics to the client that are currently displayed on the graphs.

Also, at the moment we are using upickle to (de)serialise the messages. It might make sense to use a more efficient format. Perhaps that will be a case for ZIO schema.

atooni commented 2 years ago

WIP within #347

atooni commented 2 years ago

Done within #347