Your Node.js Streams Are 100Γ— Slower Than They Should Be | James Snell, Cloudflare @JavaScriptConferences
Your Node.js Streams Are 100Γ— Slower Than They Should Be | James Snell, Cloudflare  @JavaScriptConferences
Uploaded May 2026 | Updated September 2026, 2 weeks ago
Web Streams API promised one streaming model for every runtime. It delivered β€” along with memory leaks, hidden buffers, and performance so bad that Next.js quietly creates 250 objects to move a single chunk of data 🀯
One Next.js request: 250 ReadableStream objects created and thrown away just to move a single chunk of data through the pipeline.
πŸ‘‰ James Snell (Cloudflare) decided we deserve better. Here's what he built.

πŸ‘€ James Snell β€” Principal Engineer at Cloudflare Workers Runtime, Node.js TSC member and core contributor. Built HTTP/2, WHATWG URL, and QUIC in Node.js. Author of JavaScript In Depth (Manning).
πŸ‘‰ Connect with James:
πŸ”— github.com/jasnell

✍️ This talk was part of Node Congress 2026:
We Deserve a Better Streams API for the Web | James Snell
πŸ”— nodecongress.com/?utm_source=youtube&utm_medium=JamesSnell

What's inside:
βœ… Every read, every write β€” a hidden promise. Why this kills your performance
βœ… Real production fires: React SSR deadlocks, AWS SDK meltdowns, Node Fetch eating your connection pool
βœ… tee() buffers grow forever β€” and the spec designed it that way
βœ… The replacement: just iterators. No classes, no locks, no overhead
βœ… Backpressure that can't be ignored β€” and tee() done right
βœ… 22–125Γ— faster. Every major runtime. Benchmarks included

πŸ“Œ Follow the link to watch the full version of the talk and gain access to all Node Congress recordings:
πŸ”— gitnation.com/events/node-congress-2026?utm_source=youtube&utm_medium=JamesSnell

πŸ’¬ Don’t just watch β€” get your toughest architecture questions answered in real-time, be part of the room where Seniors and Architects shape the future, get ahead of the curve. Join us live at the next event!
πŸ”— gitnation.com/events?utm_source=youtube&utm_medium=JamesSnell

πŸ• Timestamps:
00:00 - Intro
00:43 - Web Streams: an order of magnitude slower. Why it matters
01:07 - Your 20% Off 🀫
03:00 - Five problems with the API: boilerplate, locks, hidden buffers, promises, chaos
05:27 - tee() will eat your heap β€” and the spec designed it that way
08:58 - Real bugs: Next.js, AWS SDK, Node Fetch, React SSR
13:21 - The new design: streams are just iterators
16:19 - Backpressure that actually bites + full API walkthrough
22:56 - Benchmarks: up to 125Γ— faster across every runtime
26:35 - Summary + how to get started
30:33 - Q&A

πŸ“Œ We’ve hidden a secret code for 20% off your next event.
Join our upcoming conferences!

πŸ’« JSNation 2026 June 11 & 15, 2026 (Amsterdam)
πŸ”—jsnation.com/?utm_source=youtube&utm_medium=JamesSnell

πŸ’« React Summit, June 12 & 16, 2026 (Amsterdam)
reactsummit.com/?utm_source=youtube&utm_medium=JamesSnell

πŸ’« TechLeadConf, June 11 & 12, 2026 (Amsterdam)
techleadconf.com/?utm_source=youtube&utm_medium=JamesSnell

and more!

πŸš€ Check out all the upcoming events from GitNation:
πŸ”— gitnation.com/events?utm_source=youtube&utm_medium=JamesSnell

Don't forget to use INSIDER20 promo code for 20% off on tickets.


#NodeCongress #NodeJS #JavaScript #WebStreams #StreamsAPI #Cloudflare #CloudflareWorkers #Performance #AsyncIterators #BackPressure #WebDev #JSPerformance #NodeJSPerformance #ServerSideRendering #NextJS #TypeScript #OpenSource #SoftwareEngineering #BackendDevelopment #JamesSnell
Your Node.js Streams Are 100Γ— Slower Than They Should Be | James Snell, CloudflareAI Coding Summit 2026 - See How AI Transforms Software Development - February 26 & 27, 2026Core Dev Skills for the New EraHow AI is Reshaping Frontend DevelopmentPrompting is for Juniors. The New Senior AI Role | Kent C. Dodds #shortsWatch the full interview with MatteoπŸ”₯☝️#nodejs #webdevelopmentNetflixs Two-Tier Workflow Framework: RAW Hollow for State, Conductor for ExecutionA huge part of tech content isnt education β€” its entertainment 🎭 #shortsMaster AI inside your engineering team! πŸ› οΈSupabase Realtime Has 3 Primitives. Most Devs Only Use One | Eddie Jaoude, PayPalThe era of strict silos is ending  #shortsHow Windsurf Breaks Through the Celling for Retrieval
JavaScript Conferences by GitNation |

Your Node.js Streams Are 100Γ— Slower Than They Should Be | James Snell, Cloudflare

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER