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鈥檝e seen #414, but we鈥檇 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