StudyMate
G

Filesystem, Buffers & Streams

2. Core APIs & Servers

2. CORE APIS & SERVERS

Filesystem, Buffers & Streams

Reading and writing files safely, working with binary buffers, and streaming data without loading whole payloads into memory.

4 resources 0 labs
fs/promises vs callback API, file descriptors, atomic writes, watching files and the flags that decide overwrite behaviour.
TEXTENFREE 20 min4.8 (41)
Backpressure, highWaterMark, pipeline() and composing transforms — the reference you need before streaming large uploads.
TEXTENFREE 25 min4.8 (80)
Shortest useful intro to what a buffer is and why streams let you process a large file in chunks instead of buffering it whole.
VIDEOENFREE 5 min4.6 (49)
Hindi walkthrough of readable, writable and duplex streams with a working file-copy example and the events each stream emits.
VIDEOHIFREE 18 min4.5 (47)