Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Node JS Cluster with PM2, RabbitMQ, Redis and Nginx
Rating: 4.1 out of 5(599 ratings)
4,062 students

Node JS Cluster with PM2, RabbitMQ, Redis and Nginx

Learn how to create Node JS cluster, use PM2, RabbitMQ, Redis Cache and Nginx as a Reverse proxy and load balancer
Last updated 2/2020
English

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

Course content

6 sections24 lectures2h 24m total length
  • Introduction3:01

    Explore how to use NodeJS cluster for multi-core production, with PM2 for process management, RabbitMQ and Redis for messaging and caching, and Nginx as a reverse proxy and load balancer.

  • Who should take this course?0:39
  • Tools and Software required for this course0:52

    Use the current Node.js LTS version and Microsoft Visual Studio Code, with optional IDEs like WebStorm or Sublime Text. Install RabbitMQ, Redis, Nginx, PM2, and Nodemon using the provided links.

  • Why Node JS cluster?12:16

Requirements

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

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. 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.

Who this course is for:

  • The students/developers who have intermediate knowledge of Node JS and Express JS framework