hashicorp / yamux

Golang connection multiplexing library
Mozilla Public License 2.0
2.19k stars 232 forks source link

Download speeds have reduced and upload speeds gone up with the latest version of yamux #122

Open mathews-joseph opened 1 year ago

mathews-joseph commented 1 year ago

Hi Team, first of all, thank you for the fantastic project.

I've noticed that the download speeds have gone down and the upload speeds have increased with the latest version of the yamux module (v0.1.1). I was using an older version (commit 0bc27b27de87) of the module before upgrading to the latest version.

Please find the difference in speeds in the table below. A single stream was used to upload/download a file and the target server was based on https://pypi.org/project/uploadserver/:

Transfer Type Commit 0bc27b27de87 v0.1.1
Download 308.3 MB/s 265.6 MB/s
Upload 206.8 MB/s 273.4 MB/s

Please let me know if you need any further details to investigate the change in transfer speeds.