Skip to main content

TARGET_REQUEST_DURATION

Constant TARGET_REQUEST_DURATION 

Source
pub const TARGET_REQUEST_DURATION: Duration;
Expand description

How long one chunk request should take at the measured goodput, on an ordinary link: eight seconds.

Long enough that a round trip and the server’s write are a small share of each request; short enough that a request lost to a reset or a stall costs seconds, not minutes.