Transfer websocket messages as a sequence of custom defined small chunks

Summary

We have an issue where the streamlit server is behind a proxy that limits frame lengths to 65k (a limit set here: quarkus-http/ServerWebSocketContainer.java at 0558dd49954a3b305340a68f73d99aa3815a660e · quarkusio/quarkus-http · GitHub). This means that for large datasets the data is unsuccessfully transmitted from the streamlit server to the browser. I’ve seen #414, but we’d need a way to specify how small chunks the server could split packets down to, not increase to. Do you have any advice for how to tackle this kind of scenario? Thanks!

Originally asked here: Transfer websocket messages as a sequence of custom defined small chunks · Issue #6196 · streamlit/streamlit (github.com).

2 Likes