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
  • Worker Processes are Isolated
  • Communicating Between Master and Worker Process
  1. Developer Guide
  2. Blueprint Cluster

Technical Details

PreviousRunning a Blueprint ClusterNextTesting Framework

Last updated 7 years ago

Worker Processes are Isolated

When you run a Blueprint cluster, each worker processes is isolated from its peers and from the parent process. This means that each worker process has its own copy of the Blueprint application. Moreover, it means that each worker process cannot directly access the state of its peers. It is important to note this fact because it is easy to misunderstand why two worker processes are experiencing unexpected behavior—especially if your Blueprint application is stateful.

Communicating Between Master and Worker Process

It is possible to communicate between the master and worker processes. At the moment, Blueprint cluster does not have native abstractions for supporting such communication needs. If you need to communicate between the master and worker process, then you have to rely on the abstractions from the .

native NodeJS cluster module