Stream Whack a Mole
Offered By: JSWORLD Conference via YouTube
Course Description
Overview
Syllabus
Intro
P2P Node.js Core Streams
A depressing story on why you probably all have bugs in your streams
A Brief History of Node.js Streams
Streams 1
Streams 2 - Node.js 0.10
Complex Batteries included Pull based
Streams 3 - Node.js ~0.11
Small iteration on
Makes the s.on('data') work together with the
Streams are still evolving
Everytime we fix a bug we break tons of things
Streams are probably the most complex objects returned from Node.js core
readable-stream is an official npm mirror of stream(node)
Memory leak. Always drain your streams node
Yes, on('data') has magic behaivor
does not mean end
Backwards compat
pipe() does not do error handling
Never use pipe()
The Future
Makes streams easier to implement de
Error handling pipe, proper life cycle support, backwards
Thank you!
Taught by
JSWORLD Conference
Related Courses
MongoDB for Node.js DevelopersMongoDB University Introduction to Office 365 Development and APIs
Microsoft via edX Server-side Development with NodeJS
The Hong Kong University of Science and Technology via Coursera Front-End Web UI Frameworks and Tools
The Hong Kong University of Science and Technology via Coursera Introduction to MongoDB using the MEAN Stack
MongoDB via edX