Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Merge pull request #4 from ifit/emit

emit ready events
latest commit 68a67223a4
Chase Brammer cbrammer authored
Octocat-spinner-32 test emit ready events May 07, 2013
Octocat-spinner-32 LICENSE initial commit February 29, 2012
Octocat-spinner-32 cleaning up and fixing pid bug November 03, 2012
Octocat-spinner-32 index.js emit ready events May 07, 2013
Octocat-spinner-32 package.json upping version April 16, 2013


Optimus is a simple cluster manager for node.js, built off the native cluster module. Requires node v0.8.0 or higher.

Optimus receives a configuration object, which contains the names of applications to run, and the number of instances to spawn of each application.

The number of instances can either be a number, or the string "cpus". You can also perform multiplication on "cpus".

Here is an example of how to use optimus.

var optimus = require("optimus");

  "myapp": 1,
  "dont_restart": {
    "count": 1,
    "autoRestart": false
  "cleaner": "cpus*2",
  "myworker": "cpus"
}, __dirname);

See LICENSE for copyright info.

Something went wrong with that request. Please try again.