Open MarcSkovMadsen opened 2 years ago
My hypothesis is that there is some kind of race condition or that holoviews is not thread safe ????
The issue seems to be that the Panel server is too slow to respond to the initial request from the lightning.ai server.
My hypothesis is that the lightning.ai server sends initial requests to the Panel server to figure out when its a live. It waits for a small period of time and then sends another request. So I just see an infinite number of requests coming in. My experiments have also previously shown that Panel/ Bokeh server is slower than other data app frameworks to send the initial response back. Partly because it sends a large response. But probably also because its not been optimized for this use case.
See the cross post for more info https://github.com/Lightning-AI/lightning/issues/13381 for more details.
Crosspost of https://github.com/Lightning-AI/lightning/issues/13381
pip install panel==0.13.1 bokeh==2.4.3 lightning==2022.6.15.post2 holoviews==1.14.9
I'm trying to create a Panel+HoloViz crossfiltering example with lightning.ai. I can create other examples. See https://github.com/Lightning-AI/lightning/issues/13335, but the HoloViews one never serves.
Example
app.py
run with
And see it loads forever
If instead I do
It works