Skip to main content

BLOB_READAHEAD

Constant BLOB_READAHEAD 

Source
const BLOB_READAHEAD: usize = 4;
Expand description

How many chunks the reading task may run ahead of the socket.

The back-pressure: the reader fills this and then waits, so a slow client costs one task and BLOB_READAHEAD × CHUNK of buffer rather than the whole blob in memory.