Learn how to create Node JS cluster, use PM2, RabbitMQ, Redis Cache and Nginx as a Reverse proxy and load balancer
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
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 -
- Why Node JS cluster is important?
- How to create Node JS cluster application?
- Using PM2 to run Node JS application
- Communication between Master process and Child Process
- Communication between Master process and Child Process using PM2 and RabbitMQ
- Working with Redis cache
- Using Nginx as a reverse proxy and load balancer
Who this course is for:
- The students/developers who have intermediate knowledge of Node JS and Express JS framework