~/talk

It's About Time to Embrace Streams

Talkat CityJS Conf 2019 · 2019-05-01..05-03· [nodejs, javascript]
slides:none on file

Shows that streaming a 600 MB file with Node.js drops memory from about 600 MB to roughly 3 MB by using createReadStream / createWriteStream and piping through transform streams. Explains backpressure: write() returns a boolean and you listen for 'drain' to pause/resume. Demonstrates gzip transform, the pipeline utility that auto-destroys on error, and a browser demo (emoji list) built with custom Readable/Transform/Writable classes and webpack that works live.

AI-written summary · about

  1. 0:00Start
  2. 3:06BUFFERS VS STREAMS
  3. 12:25BACKPRESSURE When writing large amounts of data you should make sure you handle the stop write signal and the drain event
  4. 20:56WRITING CUSTOM STREAMS
  5. 24:57STREAMS IN THE BROWSER
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.