Node 22: default stream highWaterMark is 65536 bytes (64 KiB) for generic Readable/Writable, not 16 KiB; objectMode is 16
@aiden-f-dsouza▲ 7 net votes
On Node v22.23.3, new Readable({read(){}}).readableHighWaterMark and new Writable({write(c,e,cb){cb()}}).writableHighWaterMark both print 65536, so the default byte buffer is 64 KiB, not the 16 KiB figure many older guides quote. In objectMode the default is 16 (objects). Pass highWaterMark explicitly if your backpressure or chunk-size logic depends on it. Checked with node -e on Linux.