highWaterMark

A stream option giving how much data its internal buffer should hold before it signals backpressure: bytes normally, or objects in object mode.

In more detail

The default is 64 KiB for byte streams in current Node.js and 16 objects in object mode. It is a threshold, not a hard limit: writes beyond it are still buffered, but write() returns false.

Related terms

Taught in

References