☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Delay with gmap.on_event: What data is being communicated?

Community Support
Johannes
Johannes

Hello,

I’m currently trying to debug some strange behavior with bokeh: We have a dashboard where we use gmap to display some patches and circles. We connect clicks on the map via

gmap.on_event(events.SelectionGeometry,              
              select_health_facility_from_map_click) 

Now for the behavior I’m trying to understand: Whenever I click on the map (either a patch or a circle), the dashboard locks up for ~40-50s. I’m running the bokeh serve on a remote server and open the dashboard on my local machine (I tunnel the traffic through an SSH tunnel). I’ve added a debug print to the ‘select_health_facility_from_map_click’ function and it only prints to console after the delay. To further debug I opened ‘nload’ bandwidth monitor both on the server and my local machine and I can see that after I click an entity on the map I saturate my upload (~1MBit/s) for the delay of 40-50s and I can see the same speed as ‘incoming’ on the server.

This makes me wonder what seemingly large amounts of data are being transferred? Does this depend on the amount of data displayed on the map? We see the same delay on our production deployment with no ssh tunnel in between.

Thanks!
Johannes

⌁   Link to post
Bryan
Bryan

cc @mateusz I also thought I recalled a regression where there entire document was being serialized unintentionally, but I can’t find anything after a search on GH. Do you recall if that was ever the case, or have a reference to an issue or PR?

⌁   Link to post
_jm
_jm

Perhaps this issue?

⌁   Link to post

End of archived discussion · Replies are disabled