axon-priority

0.0.2 • Public • Published

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 axonPriority = require('axon-priority');

var req = axon.socket('req');
axonPriority.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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    2
  • 0.0.1
    1

Package Sidebar

Install

npm i axon-priority

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • ebensing