Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
SHOW YOUR CLUSTER WHO'S BOSS
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
README.md
axe.js
package.json

README.md

axe

axe

install

npm install axe

usage

var axe = require('axe');

axe.configure({
  mesh: true,
  autobalance: true,
});

axe.master(function(node, mesh){
  setInterval(function(){
    mesh.emit('ping');
  });
});

axe.worker(function(node, mesh){
  mesh.on('ping', function(){
    console.log(node.id + ' ' + pong);
  });
});

axe.on('start', function(){
  console.log('axe started on port ' + this.port);
});

axe.start();
var axe = require('axe');
axe.configure(require('config/axe.js'));
axe.master(require('master/main.js'));
axe.worker(require('worker/main.js'));
axe.start();
Something went wrong with that request. Please try again.