0.0.2 • Published 11 years ago

axon-priority v0.0.2

Weekly downloads
3
License
-
Repository
github
Last release
11 years ago

Axon-Priority

This is a plugin for the Axon socket module. It create a mode where req/rep sockets will send the next request to the least busy node instead of always using round robin.

Usage

var axon = require('axon');
var axon-priority = require('axon-priority');

var req = axon.socket('req');
axon-priority.patchSocket(req);

// continue to use the socket as you normally would...

Tests

make test

They take about 30s to a minute to run, so be patient.

Author

0.0.2

11 years ago

0.0.1

11 years ago