Clusters and Child Processes

Scaling Node.js Applications

It's all about Nodes

Scalability

Scalability Strategies

Child Processes Events and Standard IO

Node.js and the OS

Node.js

OS

The Shell Syntax, exec(), and execFile()

The fork() Function

The Cluster Module

When You Have Multiple CPUs

Scalability Strategies

Always Use the Cluster Module

Load-Balancing an HTTP Server

Broadcasting Messages to All Workers

Availability and Zero-downtime Restarts

Shared State and Sticky Load Balancing

Clusters and Child Processes

By Shuhratbek Mamadaliyev

Clusters and Child Processes

  • 1,031