quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.85k stars 394 forks source link

Limiting transmit queue size from endpoint-generated transmit packets #1597

Closed lijunwangs closed 1 year ago

lijunwangs commented 1 year ago

Dropping endpoint generated transmit packets when the outgoing queue size exceeds the limit to bound memory usage. The selected value found to be limiting memory usage to about 1 G resident size for a server for sustained loads from clients and the queue to be stable around the set size.