Skip to main content

Node JS Cluster with PM2, RabbitMQ, Redis and Nginx

2h 24m 39s
English
Paid

Course description

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.

Read more about the course

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.

Requirements:
  • Good knowledge of Node JS and Express JS framework
  • Basic knowledge of ECMA Script 2015/ES6
Who this course is for:
  • The students/developers who have intermediate knowledge of Node JS and Express JS framework

What you'll learn:

  • 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

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 24 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing

Watch Online Node JS Cluster with PM2, RabbitMQ, Redis and Nginx

0:00
/
#1: Introduction

All Course Lessons (24)

#Lesson TitleDurationAccess
1
Introduction Demo
03:02
2
Who should take this course?
00:40
3
Tools and Software required for this course
00:53
4
Why Node JS cluster?
12:17
5
Introduction to Cluster Module
08:17
6
Example - Creating First Node JS application using Cluster module
06:44
7
Load testing Node JS cluster application
02:35
8
Example - Load testing Node JS cluster application Part - I
03:15
9
Example - Load testing Node JS cluster application Part - II
03:01
10
Introduction to PM2
07:06
11
Example - Running Node JS Express application using PM2
10:11
12
Introduction to child_process module
02:38
13
Example - Communication between Master and Child processes
06:31
14
Master and Child process communication using PM2 and RabbitMQ
10:03
15
Example - Master and Child process communication using PM2 and RabbitMQ
13:41
16
Rabbit MQ Web Inteface
04:17
17
Introduction to Redis Cache
04:01
18
Example - Using Redis Cache in Express JS REST API with PM2
15:36
19
Introduction to Using Redis as Publisher and Subscriber
02:17
20
Example - Redis Publisher and Subscirber using PM2
07:31
21
Introduction to Nginx
05:05
22
Example - Nginx as a reverse proxy
06:19
23
Example - Nginx as a load balancer and reverse proxy
05:53
24
Summary of the Course
02:46

Unlock unlimited learning

Get instant access to all 23 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

React Redux Ecommerce - Master MERN Stack Web Development

React Redux Ecommerce - Master MERN Stack Web Development

Sources: udemy
Master MERN Stack Web Development building Ultimate E-commerce app with React Redux Ant Design Firebase NodeJs and MongoDB. This project will have almost all the features you wa...
43 hours 9 minutes 35 seconds
The Node.js Master Class - No Frameworks, No NPM | Node v8.x

The Node.js Master Class - No Frameworks, No NPM | Node v8.x

Sources: udemy
Node as it was intended: Build a REST API, a web app GUI, and a CLI in plain javascript with no 3rd-party libraries.
15 hours 24 minutes 23 seconds
Complete SQL + Databases Bootcamp: Zero to Mastery

Complete SQL + Databases Bootcamp: Zero to Mastery

Sources: zerotomastery.io
With so many online resources available, it can be paralyzing not only figuring out where to start but more importantly which courses will actually teach you the skills you need...
24 hours 6 minutes 52 seconds
Generative AI for NodeJs: OpenAI, LangChain - TypeScript

Generative AI for NodeJs: OpenAI, LangChain - TypeScript

Sources: udemy
It's time to add AI to your JavaScript/TypeScript application! The course "AI for NodeJs Developers with OpenAI and LangChain" is designed for those who...
7 hours 21 minutes 46 seconds
Mastering NodeJS with Interview Questions 2024

Mastering NodeJS with Interview Questions 2024

Sources: udemy
Explore the dynamic universe of server-side web development with this meticulously crafted Node.js course, tailored for both aspiring learners and seasoned...
12 hours 39 minutes 9 seconds