Hi, I have managed to make a working stream of 1D data from flask using bokeh AjaxDataSource to client browser where a bokeh plot is displaying a rolling window of the data.
This works absolutely great.
The problem here is that AjaxDataSource uses long time polling which does not give me the fine grained control i need to sync several different streams.
I would like to instead make use of websockets to push data from the server, such that i can decide when and what to push from server to several streams.
I would like to display the result in a bokeh plot.
I have not been able to find consistent information regarding a websocket datasource for bokeh streaming applications.
Does this exist?
If yes, can anybody point me in direction of an example i can look at?
If it does not exist, can anybody maybe point me towards some information about how this could be implemented using possibly Flask Socket IO or similar?
Thank you very much in advance.