1.0.0 • Published 8 years ago

x-server-clusterize v1.0.0

Weekly downloads
8
License
-
Repository
-
Last release
8 years ago

x-server-clusterize

Build Status](https://travis-ci.org/x-component/x-server-clusterize)

./clusterize.js

cluster

Runs the mobile portal HTTP server as a cluster containing of so many nodes as processor cores available.

this.start()

Cluster Start: starts the master and forks worker threads.

this.stop(exit:)

Cluster Stop: destroys all workers, removes pid file

this.fork()

Creates a specified count worker threads in free slots

this._on_worker_exit()

Callback function called, when a worker thread died. Starts a new worker thread.

1.0.0

8 years ago

0.0.1

9 years ago