jbboehr/cluster

Installs: 164

Dependents: 0

Watchers: 1

Forks: 1

Language: PHP

v0.1.3 2014-08-11 22:35 UTC

README

Build Status HHVM Status Latest Stable Version

Worker pool manager

Installation

With composer

{
    "require": {
        "jbboehr/cluster": "~0.1.0"
    }
}

Example

Cluster::factory()->master(function(Cluster $master) {
  // Master process loop function
})->child(function(Child $child) {
  // Child process loop function
})->loop()

License

This project is licensed under the MIT license.