/node-cluster

Scaling Node.js Applications with cluster module

Primary LanguageJavaScript

Scaling Node.js Application with cluster module

This code was an excerpt from Samer Buna's article hosted on Medium.

The post explains different strategies of scalability and how to implement cloning of a Node.js application using the cluster module.

Introduces:

  • Load-Balancing an HTTP Server
  • Broadcasting Messages to All Workers
  • Increasing Server Availability
  • Zero-downtime Restarts
  • Shared State and Sticky Load Balancing