cluster-fn
run functions in nodejs cluster
Last updated 5 years ago by chuej .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cluster-fn 
SYNC missed versions from official npm registry.

cluster-fn

Run functions w/ nodejs cluster.

Usage

var clusterFn = require('cluster-fn');
var fn = function (){
  // worker operations
};
var cluster = clusterFn({numWorkers: 5, fn: fn});
cluster.start()

Current Tags

  • 0.0.2                                ...           latest (5 years ago)

2 Versions

  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2017 © taobao.org |