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
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.