You’ll be introduced to the fundamentals of the built-in stream Node.js module, and learn how to code streams using backpressure to combine multiple data sources and sinks for better data processing. Learn how to use curl and netcat, different stream types - readable, writable, transform, duplex - plus write code for TCP, HTTP, and Websocket servers and clients using Node.js. Finally, learn how to build multiplex streams! This course is ideal for moderately experienced engineers who want to learn how to leverage networking fundamentals and protocols to master the art of building streams in Node.js.
Overview
Syllabus
- Networking and Packets
- Protocols and Ports
- Servers and Clients
- Netcat
- HTTP and Headers
- HTTP Post
- Curl
- Curl Headers
- SMTP
- IRC
- Q&A: IRC Nicknames
- Binary Protocols and Inspecting Protocols
- Introducing Streams
- Transform Data
- Introducing through2
- Q&A: Streams
- Using through2
- Introducing concat-stream
- Q&A: Buffering Streams
- Stream Types
- Writable Streams
- Readable Stream
- Transform and Duplex Stream
- Duplex Streams
- Simple VPN
- Object Streams
- Core Streams
- HTTP Core Streams
- Crypto Streams
- Zlib Core Streams
- split2
- Websocket Streams
- Websocket Node Client
- collect-stream, from2, and to2
- duplexify
- pump, pumpify, and end-of-stream
- rpc-stream
- Multiplex
- Q&A: WebRTC
- Q&A: Tag Template Literal
- Q&A: WebAssembly
Taught by
James Halliday