-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Description
Is your feature request related to a problem? Please describe.
https://gist.github.com/szmarczak/4a764b3d00ae217267c9d79caafd4082
It is now possible to set the window size on the session & its streams. By default, it's 64KB which is too small. When connecting to really remote servers, there can be even 250ms latency. That is 4 packets per second! What a fantastic speed of 256KB/s.
Okay, you might want to connect to a close server, assume 20ms ping. That's just 50 packets per second.
Meaning: 50 * 16 = 3200KB/s.
Describe the solution you'd like
There are many 1Gbps connections out there. Let's make the session window size 128MB and the stream window size at least 16MB. Okay, that's overkill, see my comment above below.
This way, with 250ms latency the speed will be 64MB/s (512Mbps).
Describe alternatives you've considered
None.
/cc @kanongil @Rantoledo @CrucialDrew @fungiboletus @sindresorhus