onehilltech/blueprint

Node cluster

hilljh82 opened this issue · 1 comments

Add support for node cluster. This will allow a blueprint application to take advantages of the available cpus on a multi-core architecture.

The current approach is to enable cluster support via app.config.js. A simple configuration value could be used to enable clustering.

module.exports = {
  name: 'the-application',
  cluster: true,  // if number, then size of cluster
};