jbboehr/cluster


Keywords
fork, worker, cluster
License
MIT

Documentation

cluster.php

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.