Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

optimus

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

optimus

Cluster Manager

  • 0.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

About

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");

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

See LICENSE for copyright info.

Keywords

FAQs

Package last updated on 07 May 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc