Full Stream Ahead!
summary
Argues that server-style streams land in the browser and shows working code: Node’s fs.createReadStream/createWriteStream, duplex echo server and transform that uppercases or replaces “whale” with emoji, plus a demo module whale it and another boat it that actually run. Shows fetch body as fetch body is a ReadableStream and how to pipeTo and pipeThrough or manually pump readers, cites ~16MB Moby Dick chunks, and notes current Blink-only support.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:24Streams basics
- 3:13History and types
- 5:27Streams in Gulp
- 6:31Stream terms and buffers
- 7:58Streams in UNIX pipes
- 10:29Streams in Node.js
- 11:12Duplex streams and TCP
- 13:28Writable streams in Node.js
- 14:40Transform streams
- 18:29Custom transform streams
- 19:55Duplex streams demo
- 20:58Streams in browser fetch
- 23:10Browser streaming data
- 24:40Writable streams in browser
- 25:46Transform streams in browser
- 26:29Streams in Service Workers
- 27:53Browser stream support
- 28:14Summary
related talks
31mBelieve in Streams
35mStreams: The data structure we need
14mStreaming the Web (it's not what you think)
39mWe Deserve a Better Streams API for the Web
26mOMG Streams!
16mStreaming Server Side Rendering simplified with Next.JS
33mStream into the Future
34mUnderstanding Streams, Signals and Events in Nodejs
