2017 © Pedro Peláez
 

library parallely

parallely

image

hpbuniat/parallely

parallely

  • Monday, May 20, 2013
  • by hpbuniat
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

parallely

parallely is a re-usable component to do parallel-processing with php., (*1)

Example Setup

"parallel": {
    "adapter": "sharedmemory",
    "config": {
        "path": "/tmp",
        "host": "localhost",
        "port": 11211
    }
}
$oParallel = \parallely\Builder::build($aStack, $oConfig->adapter, $oConfig->config);
$oParallel->run(array(
    'check' => array(
        $iTime
    ),
    'run'
));

Builtin transports

  • File
  • Memcached
  • Shared-Memory
  • XCache
  • APC

Note

With empty or invalid configuration, parallely will process all stacks sequentially., (*2)

Extending

You may add own adapters by simply implementing the TransportInterface., (*3)

The Versions

20/05 2013

dev-master

9999999-dev https://github.com/hpbuniat/parallely

parallely

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3

 

by Hans-Peter Buniat

parallely parallel execution