jupyter-resource-usage icon indicating copy to clipboard operation
jupyter-resource-usage copied to clipboard

Switch to using eventstreams

Open yuvipanda opened this issue 7 years ago • 2 comments

Eventstreams are a much better fit for this than polling via HTTP requests as we do now. We should switch to it (plus a polyfill for IE users)

yuvipanda avatar Apr 01 '18 20:04 yuvipanda

Is using Prometheus+psutil a good enough compromise to using event streams?

That is what I am trying to implement lately (a standard "interface" for Prometheus to track any suitable psutil metric that the user specifies in config). I have no idea either way whether that's performant or not though.

krinsman avatar Apr 18 '20 03:04 krinsman

I think this refers to using an EventSource on the frontend instead of polling via HTTP requests?

With the nbresuse backend emitting the events.

jtpio avatar Apr 27 '20 11:04 jtpio