I make a 2GB file:
dd if=/dev/zero of=file.txt count=2000048 bs=1024
Run the server:
cargo run --manifest-path=tools/apps/Cargo.toml --bin quiche-server -- --cert tools/apps/src/bin/cert.crt --key tools/apps/src/bin/cert.key --root $PWD --listen [::]:4433
Run the client:
cargo run --manifest-path=tools/apps/Cargo.toml --bin quiche-client -- https://my.ip.address/file.txt --no-verify --dump-responses .
Quiche results: 8MB/s - 12MB/s
scp [email protected]:~/quiche/file.txt .
SCP Results: 23 MB/s
Just tried:
npm i -g serve && serve
in a directory with a 2GB file on AWS EC2On my local I ran:
curl http://my.ip.address/file.txt > file.txt
and got about 20MB/s throughput rate