~/talk

Computer Science through Streams

Talkat CascadiaJS 2013 · 2013-11-14..11-15· [nodejs]
slides:none on file

Demonstrates that Node streams (fs.createReadStream, piping, gzip, a CSV transform and http.createServer) let a server send a 10 GB file and a query of 65,000 rows over a slow airplane/EC2-micro link by using TCP-style high water mark flow control rather than buffering everything. The default 16KB buffer and backpressure make streaming use about five times less heap than a buffered approach; the implementation works slowly but reliably. Tools referenced: libuv, streamviz, stream handbook and nodeschool exercises.

AI-written summary · about

  1. 0:00Start
  2. 4:28BACKPRESSURE
  3. 8:05WHAT HAPPENS IF A STREAM IS OUT POUR CONTROL?
  4. 9:12having a mechanism for flow control is ESSENTIAL in an environment where machines of DIVERSE NETWORK SPEEDS connunicate.
  5. 15:01STREAM SUCCESS BUFFER FAIL
  6. 16:42DIVERSE NETWORK IS for SPEEDS
  7. 16:53WHY? ALL the THINGS ARE STREAMS
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.