facebook / mvfst

An implementation of the QUIC transport protocol.
MIT License
1.5k stars 242 forks source link

additional ack blocks limitation requirement #357

Open hhrsscc opened 1 month ago

hhrsscc commented 1 month ago

When using QUIC datagrams, there is no retransmission mechanism, so in networks with packet loss, the number of ACK blocks continues to grow. This can result in an ACK frame size exceeding 1000 bytes, which is too large. Is it possible to introduce a setting that limits the maximum number of additional ACK blocks?

mjoras commented 1 month ago

We don't have a way to do that but it wouldn't be that hard to add. Is this something you've observed using mvfst?

hhrsscc commented 1 month ago

I’m using mvfst to send and receive QUIC datagrams, with each datagram being very small (less than 100 bytes). However, in networks with packet loss, the ACK frames consume too much bandwidth compared to the application data. Therefore, I’d like to have a limit on the number of ACK blocks.