yuvipanda / jupyterhub-ssh

SSH Access to JupyterHubs
BSD 3-Clause "New" or "Revised" License
93 stars 29 forks source link

Tune buffer size to minimize latency #8

Open yuvipanda opened 3 years ago

yuvipanda commented 3 years ago

Currently, we hardcode a buffer size of 4096 bytes when reading from ssh. I don't fully understand the implications of this to tune it properly. I should!

sshping might help by providing outputs for various values.