S
Solara5mo ago
Robin

Solara very slow as subapp of FAstAPI, after deployed to Docker container

Seems okay under localhost, very slow under Docker container! Anyone has any insights?
3 Replies
MaartenBreddels
MaartenBreddels5mo ago
is it onlt the combination of a subapp of fastapi + docker? Or do you also see this when using solara run under docker?
Robin
Robin5mo ago
the first one! Solara is a subapp of FastAPI, which is deployed in a docker container Also even much more slower when the container is under a corp network, which is load balanced.. Wondering if Solara need some special configuration under load balancer? @MaartenBreddels any thoughts or suggestions, how to tackle this issue? Solara spins for hours
MaartenBreddels
MaartenBreddels5mo ago
Ah, that is not slow, it’s not working 🙂 what do you see in the js dev console and did you consider solara is using a websocket, on the deployment section in the docs you can find a nginx example.