TLDR Tech / Dev
We Ralph Wiggumed WebStreams to make them 10x faster
Vercel found that WebStreams were a huge bottleneck in Next.js server rendering. The streams were burning CPU on Promise allocations for every chunk. Vercel built fast-webstreams, a drop-in replacement that collapses piping chains into a single Node.js pipeline() call with zero Promises per chunk, with the end goal of merging this package into Node.js itself soon.
Read the full story