Hi John,
There are a couple of features in the pipeline that may help with apps like you describe:
* protocol messages and features for noting "busy" (e.g. a spinner, etc.)
* a binary array protocol for more efficient transfer of array data
But I suspect that you might simply be bumping up against (or pushing past) the current limits of the server. It's possible that there is a resource leak (in either the server, OR the client --- you might check memory consumption over time for both) and that the scale of your app is uncovering it quickly.
Can you can share example code to reproduce the issue (perhaps with synthesized or fake data)? It is possible that a review of the code will suggest some change in usage or optimization that will help immediatey, but more likely it would simply be a great help for investigating any server problems that need addressing.
Thanks,
Bryan
···
On Jun 30, 2016, at 6:41 AM, John.B <[email protected]> wrote:
Hi,
I have a bokeh app that is running very slow. The app consists of around several plots (20-50k pts in total), a couple of tables (5k rows x 10 columns), some charts and some widgets to help interact with the widgets. Currently what I experience is that on the start up of the app it is quite responsive, but the longer the server has been running the slower it gets taking up to several mins for a user interaction to run its callback and the corresponding output to be generated in the app. Curiously if the app is restarted the speed improves again even though the amount of data is the same.
I am not that experienced in profiling but from what I can tell my end of the code appears to be quite fast and its whatever bokeh is doing on the backend that appears to take most of the time. Are there any good tools that I can use to profile a bokeh app? Unfortunately I cant share the code but if I can isolate the problem I can try and provide a test case that reproduces the problem.
Also I tried upgrading to 0.12 and this seems to have accentuated the issue.
Thank
John--
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].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/5767c0f1-cc88-4139-87d3-294ba269797c%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.