Erlang-inspired Process Supervision Library for Node.js
JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
lib
test
.gitignore
.travis.yml
README.md
index.js
package-lock.json
package.json

README.md

Supe

Fault-Tolerant Node.js Programs

npm version travis ci Coverage Status

Node.js makes it easy (and quick) to write a useful program.

Unfortunately, there's only so much you can do in one event loop before things start stepping on each other's toes. It only takes one slow/busy component to bring the rest of the program to its knees.

Supe is a two-pronged approach to writing safer Node.js programs:

  1. Make it easy to put parts of your program into private Node.js instances.
  2. Provide tools that make working with multiple Node.js instances a breeze.

The resultant program is safer because faults are isolated on a per-component basis, and likely faster because it utilizes multiple event loops.

Multiple Node.js instances working together Output from TorontoJS Workshop Satellite.

Install

npm install --save supe

Why Supe

A few reasons why you should use Supe.

Getting Started

Handy guide to help you quickly get started with Supe.

Core Components

The pieces that make up Supe's core and how to use them.

Add-ons

An easy way to get more out of Supe is using (or creating + sharing your own) Supe add-ons.

Some examples: