using stream at high rate (more than 20 Hz), the client starts lagging behind. For instance, moving a slider is not triggering on the server for a while, but will eventually if I reduce the rate. I can group data in stream to mitigate the problem.
But what I would really like is find out when the client is lagging behind, so to reduce the rate on the server side. But I can’t seem to find a way to do it. Something like a ping sent from the server and when response does not come back immediately, I know that the client starts lagging. I know that it is possible because that is what bokeh does, but not sure how.