Documentation
¶
Overview ¶
Package streamcopy copies known-length blob streams in larger pooled chunks.
Index ¶
Constants ¶
View Source
const BufferSize = 1 << 20
BufferSize balances stream-call reduction against concurrent memory use. At the benchmark's 10 peer serves plus 6 local downloads, a fully busy agent can hold at most roughly 16 MiB of copy buffers.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.