CodeZettaInterview Hub

Node.js · Streams · Fresh / Intern · Concept

What are Node streams and why use them?

Short Interview Answer

Streams process data in chunks with backpressure, avoiding loading entire payloads into memory.

Detailed Explanation

Readable/Writable/Duplex/Transform cover pipelines for HTTP, files, and transforms. Essential for large uploads, proxies, and ETL. Misusing streams (buffering everything) defeats the purpose.

Did you know this answer?