Running Streamlit without using Websocket?

Internally Streamlit uses tornado as its webserver: we have a single tornado instance that’s serving all our HTTP traffic, which includes websocket traffic. Se basically support HTTP traffic AND websocket traffic on a single tornado instance and that’s why “Streamlit fundamentally runs on websocket”.

EnablingWebsocketCompression will not turn off websocket but just compress the messages if I had to guess (Compression - websockets 10.4 documentation).

1 Like