
I’m running a bokeh server with a not small CDS (ca. 5000 rows x 100 columns) doing lots of plot updates, so the update speed is crucial. I’m curious whether there are some approaches regarding data structures and methods used that may be slightly more efficient than the others, e.g. in the following cases:
- For the CDS creation, is there a performance difference in using python lists, numpy arrays, or pandas series?
- For a single column (or few columns) update of the CDS, is it better to patch the entire column, to update CDS data dictionary inplace, or to update data dictionary separately and reassign in to the CDS?
In addition, in cases of one-element lists in the CDS, is it better to patch the 0-index element, to stream with rollover=1, or to reassign new data dictionary to the CDS?
Thanks!

