go-libp2p
go-libp2p copied to clipboard
quic: increase flow control windows
trafficstars
The stream flow control window is currently limited to 10 MB. This limits transfer performance on connections with BDPs higher than that. We should use a significantly higher value than that. 50 MB seems like a better choice for well-connected servers.
This should be ok since window increases are limited by the resource manager.
Why is a limit needed in the first place ? Couldn't you let the algorithm take as much as resource manager will allow to ?
Use rcmgr's per connection memory limit to set this (inc flow control without over commitment)