A simple inter process communication library for Node.js along with a distributed election algorithm (Bully)
JavaScript
Switch branches/tags
Nothing to show
Latest commit d2afa25 Apr 14, 2014
Permalink
Failed to load latest commit information.
examples Hello github... Jan 15, 2012
Readme.md Update Readme.md Jan 15, 2012
ipc.js Added redis host/port parameters in options Apr 14, 2014
package.json Updated package.json Jan 15, 2012

Readme.md

Node.js Inter-process communication and election library.

node-ipc implements the Bully algorithm (http://en.wikipedia.org/wiki/Bully_algorithm) making it possible for multiple instances of the same application to elect a master process and at the same time allow for messages to be send across the live instances

Makes use of the redis PUB/SUB featureset.

This should probably be called a work-in-progress.

Checkout examples/client.js for a simple example

Requires winston, async, redis libraries.