superfly/corrosion

Use QUIC's congestion window size when sending data

Open

#61 opened on Sep 21, 2023

 (1 comment) (0 reactions) (0 assignees)Rust (83 forks)auto 404
:detective: investigative workenhancementgood first issuehelp wanted

Repository metrics

Stars
 (1,817 stars)
PR merge metrics
 (PR metrics pending)

Description

During synchronization, a peer starts sending fairly large buffers (64KB at the time of this writing) and that can create congestion.

It might be faster to start w/ a buffer size equal to the congestion window size of the peer we're syncing with.

It would be better to respond to backpressure in a more appropriate way. Essentially every time a chunk is not fully written, then we've surpassed the congestion window size (which can be modified).

Contributor guide