AlgoGymPreparationInterview Preparations
Cool NotesNode.js streams and backpressure
All notes

Node.js streams and backpressure

Node.js · Original AlgoGym revision note with a source for deeper study.

Node.js
  1. Streams process chunks without loading an entire file or response into memory.
  2. Backpressure prevents a fast producer from overwhelming a slow consumer.
  3. Prefer pipeline for error propagation and cleanup across connected streams.
Read more at Node.js documentation