It is Node JS module that will provide network distributed events. It uses UDP broadcast for sending it's usefull data.
v 0.0.3 - Added linux signal interception. When closed with signal SIGINT, SIGHUP and SIGQUIT the module distributes all its pool objects to all the remaining nodes in equal portions.
This module is build upon Node JS and provides for the user the following features
- A network distributed event system. Similar to node JS standard event system
- A process pool, where objects can be added and ran at a periodic interval a predefined functions.
- An auto-balancing system, that migrate objects in the process pool, from one running instance to another, based on the load of each instance.
How to use it?
npm install cloudjs
Configuration & Examples?
For this check the example.js file
More and an updated documentation and explanations can be found at http://dan.harabagiu.net/cloudjs.