I’d like to share a document between sessions. I suspect this is easy (based on 0.10.0 docs), but I can’t find an example or the relevant part of the docs in version 0.11.0. A function like “get document by name” or “get data source by name” is the sort of thing I’m looking for.
For example, if I have a sensor producing data, I’d like one process that updates the document and syncs to bokeh server, and then any number of clients can connect and view the updating document. The closest I’ve come to achieving this is having every session has it’s own document and be responsible for updating, so if there are 10 session then there is 10x the data going up to the server.
I’d like to share a document between sessions. I suspect this is easy (based on 0.10.0 docs), but I can’t find an example or the relevant part of the docs in version 0.11.0. A function like “get document by name” or “get data source by name” is the sort of thing I’m looking for.
For example, if I have a sensor producing data, I’d like one process that updates the document and syncs to bokeh server, and then any number of clients can connect and view the updating document. The closest I’ve come to achieving this is having every session has it’s own document and be responsible for updating, so if there are 10 session then there is 10x the data going up to the server.
Regards,
Josh.
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Now that I know what I’m looking at I see it’s referenced from the Bokeh Server documentation, but for my money the link should be 20 feet high, right att the top
Thanks for your help pointing me in the right direction!
···
On Sunday, February 28, 2016 at 2:25:31 AM UTC+11, [email protected] wrote:
Hi,
I’d like to share a document between sessions. I suspect this is easy (based on 0.10.0 docs), but I can’t find an example or the relevant part of the docs in version 0.11.0. A function like “get document by name” or “get data source by name” is the sort of thing I’m looking for.
For example, if I have a sensor producing data, I’d like one process that updates the document and syncs to bokeh server, and then any number of clients can connect and view the updating document. The closest I’ve come to achieving this is having every session has it’s own document and be responsible for updating, so if there are 10 session then there is 10x the data going up to the server.
Now that I know what I'm looking at I see it's referenced from the Bokeh Server documentation, but for my money the link should be 20 feet high, right att the top
Thanks for your help pointing me in the right direction!
On Sunday, February 28, 2016 at 2:25:31 AM UTC+11, jo...@arbidyne.com wrote:
Hi,
I'd like to share a document between sessions. I suspect this is easy (based on 0.10.0 docs), but I can't find an example or the relevant part of the docs in version 0.11.0. A function like "get document by name" or "get data source by name" is the sort of thing I'm looking for.
For example, if I have a sensor producing data, I'd like one process that updates the document and syncs to bokeh server, and then any number of clients can connect and view the updating document. The closest I've come to achieving this is having every session has it's own document and be responsible for updating, so if there are 10 session then there is 10x the data going up to the server.