Jumpstart with NodeJs Streams
4.3 (23 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
498 students enrolled

Jumpstart with NodeJs Streams

Understand the low level details of Streams today.
4.3 (23 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
498 students enrolled
Created by Anto Aravinth
Last updated 11/2018
English
English [Auto]
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 1.5 hours on-demand video
  • 1 article
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Understand how streams works
  • Low level details of NodeJs
  • Handling backpressure in streams
  • How pipe, pause, resume API works
Course content
Expand all 26 lectures 01:23:17
+ Introduction
8 lectures 29:06
Source Code Link
00:03

Explains what is event loop and why we shouldn't block it at a very high level.

[Extra]: Introduction of EventLoop In Javascript
04:06

Explains what is event emitters are in nodejs using a simple example.

Understanding EventEmitters with example
05:05

We will discuss why Streams are actually necessary in first place and see an example of it.

Preview 08:24

We will implement a simple stream in this video.

Our first stream implementation
05:23

We will understand how event emitter and streams are related by reading through node js source code.

Event Emitter and Streams
03:01

Discussing different types of streams.

Types of Streams
01:01
+ Writable and Readable Streams In Depth.
7 lectures 19:30

In this video, we are going to discuss how one could build their own Readable streams.

Understanding Readable streams
04:46

In this video, we are going to discuss how one could consume any Readable streams.

Consuming Readable Streams
03:18

In this video, we are going to discuss how one could build their own Readable streams (with objects).

Readable Streams with Object mode
02:01

In this video, we are going to discuss how one could build their own Writable streams.

Understanding Writeable streams
02:28

In this video, we are going to discuss how one could use Writable streams.

Consuming Writeable Streams
02:10

In this video, we are going to discuss few real world examples of streams.

Examples of Readable and Writable Streams
01:44

In this video, we are using own readable stream and pipe to our own writable stream.

Using our own writable stream with Readable stream
03:03
+ Backpressures in Stream
8 lectures 24:43

Understanding back pressure can be tricky, but lets take an analogy to understand it!

Preview 03:07
Example of backpressure
04:49

In this video we are going to talk about solution for the backpressure use case.

Solution to backpressure
04:02

Difference between once vs on function.

Once Vs On Methods
01:03

We will discuss whether data will be lost when our buffer is full.

Can data be lost?
01:34

How pipe solves our back pressure problem.

The hidden truth about pipe function.
01:17

We will talk about handling large files using streams.

Parsing large file
03:21

In this video, we will be talking about pipe, unpipe API of stream. Also, we will discuss the use case to use such an API.

Advanced stream example
05:30
+ Advanced Stream Type
3 lectures 09:58

In this video, we will understand how Duplex streams works.

Understanding Duplex Streams
04:20

In this video, we will understand what are transform streams.

Transform Streams.
01:30

In this video, we will see an example of transform stream

Example of transform stream
04:08
Requirements
  • Fundamentals of Javascript
  • Basics of NodeJs
  • Latest version of Nodejs
Description

Streams are very important concept in Node world. Did you know our file system, HTTP server that you build in node is all built on top of streams? Understanding streams is very important to become an NodeJs Ninja! There are several types of Streams and mostly every course misses this important concept. For example, how do we build a website like youtube that **streams** the video? How the buffering happens? Well the answer to that question is by using Streams.


This course gives you a solid understanding of how streams are working under the hood and at the same time, how one should use them too. The different types of streams will be explained. The following items would be covered:

1. Streams , why its required

2. Different types of Streams

3. Backpressure in Streams.

4. How to use pipe, pause, resume API

5. Understanding how internally Streams works!


The course will teach you streams by running different small example. So sign up today and get your Node.js skills to the next level.


Few reviews of this course:

"Good course. Helps on understanding streams. Examples were also simple and clear. handling of back pressure was really good. I recommend for even experienced node ppl who doesnt have knowledge on this. Atlast wish could have added more examples."


"Good introduction on streams. I guess none of the course here on udemy touches on this! Thanks for the course. Really needed for node beginner !"

Who this course is for:
  • Who wants to extend their NodeJs skills
  • Understand at low level, how NodeJs works
  • Building Scalable applications using Streams
  • Understand how different types of Streams works