Blueprint
  • Blueprint Developer Guide
  • Quick Start
    • Getting Started
    • My First Application
      • Creating Your Application
      • Controllers
      • Routers & Routes
      • Services
      • Resources & Resource Controllers
      • Validating & Sanitizing Input
      • Unit Testing Your Application
      • Policies
  • Developer Guide
    • The Object Model
      • Introduction
      • Classes and Instances
      • Computed Properties
      • Aggregated Properties
      • Mixins
    • Routers and Controllers
      • Introduction
      • Routers
      • Controllers
      • Resources
    • Models
    • The Server
    • Policy Framework
    • Services
    • Messaging Framework
    • Configuration Management
    • Application and Resources
      • Lookup Operation
      • Views
      • Assets
    • Blueprint Modules
    • Blueprint Cluster
      • What is a Blueprint Cluster?
      • Running a Blueprint Cluster
      • Technical Details
    • Testing Framework
    • Command-line Interface (Coming Soon)
Powered by GitBook
On this page
  1. Developer Guide
  2. Blueprint Cluster

What is a Blueprint Cluster?

Brief introduction to Blueprint clusters and their importance

PreviousBlueprint ClusterNextRunning a Blueprint Cluster

Last updated 7 years ago

in NodeJS is the process of running multiple instances of a NodeJS application such that one process is the master process and the other processes are worker processes. This is necessary feature because a NodeJS application is single-threaded. This means that all events are processed by the same execution thread. We you run a NodeJS application on a multi-core machine, it is hard for the NodeJS application to take advantage of computing power available via the many cores on the machine.

We understand the importance of when it relates to scaling an NodeJS application to handle large numbers of requests. We therefore have integrated cluster support into Blueprint.

A Blueprint cluster is when you run a Blueprint application as a NodeJS cluster.

Blueprint cluster is an experimental feature. Its functionality may change in the future as we learn more about its usage in the wild.

Clustering
running a NodeJS cluster