
Backend
Streaming Large Datasets in Node.js: Backpressure and Async Generators
Stop loading entire result sets into memory: how Node.js streams and async generators let you process millions of records without blowing the heap.
·4 min read
Tags
2 articles

Stop loading entire result sets into memory: how Node.js streams and async generators let you process millions of records without blowing the heap.

Unbounded Promise.all is a silent OOM killer — here's how to build semaphores, throttled queues, and stream backpressure into your Node.js applications.