Mô tả

As we all know, Node JS is single threaded event-driven JavaScript runtime. When we run any CPU intensive operation, Node will not be able to take an advantage of all the cores of our machine. This is where we will use Node JS cluster to run Node JS in multiple cores. In this course you will see -

  1. Why Node JS cluster is important?

  2. How to create Node JS cluster application?

  3. Using PM2 to run Node JS application

  4. Communication between Master process and Child Process

  5. Communication between Master process and Child Process using PM2 and RabbitMQ

  6. Working with Redis cache

  7. Using Nginx as a reverse proxy and load balancer

At the end of this course, you will be ready to use Node JS cluster with PM2, RabbitMQ, Redis and Nginx.

Bạn sẽ học được gì

Running Node JS in a Cluster

Using PM2 to create and manage Node JS Cluster for load distribution

Using RabbitMQ with PM2 to distribute the load

Storing data in Redis cache

Redis Publisher and Subscriber

Using Nginx as a reverse proxy

Using Nginx with load balancing as a reverse proxy

Yêu cầu

  • Good knowledge of Node JS and Express JS framework
  • Basic knowledge of ECMA Script 2015/ES6

Nội dung khoá học

6 sections

Introduction

4 lectures
Introduction
03:01
Who should take this course?
00:39
Tools and Software required for this course
00:52
Why Node JS cluster?
12:16

First Node JS Cluster Application

5 lectures
Introduction to Cluster Module
08:16
Example - Creating First Node JS application using Cluster module
06:43
Load testing Node JS cluster application
02:34
Example - Load testing Node JS cluster application Part - I
03:14
Example - Load testing Node JS cluster application Part - II
03:00

PM2

2 lectures
Introduction to PM2
07:05
Example - Running Node JS Express application using PM2
10:10

Master and Child process communication

5 lectures
Introduction to child_process module
02:37
Example - Communication between Master and Child processes
06:30
Master and Child process communication using PM2 and RabbitMQ
10:02
Example - Master and Child process communication using PM2 and RabbitMQ
13:40
Rabbit MQ Web Inteface
04:16

Redis Cache

4 lectures
Introduction to Redis Cache
04:00
Example - Using Redis Cache in Express JS REST API with PM2
15:35
Introduction to Using Redis as Publisher and Subscriber
02:16
Example - Redis Publisher and Subscirber using PM2
07:30

Nginx as a Reverse Proxy and Load Balancer

4 lectures
Introduction to Nginx
05:04
Example - Nginx as a reverse proxy
06:18
Example - Nginx as a load balancer and reverse proxy
05:52
Summary of the Course
02:45

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.