Login   Register  
PHP Classes
elePHPant
Icontem

Class: PHP parallel programming

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of akash  >  PHP parallel programming  >  Download .tar.gz .zip  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP parallel programming
Base name: parallel-php
Description: Run parallel scripts using a C++ program
Related classes: , , , , ,
Version: -
PHP version: 5.3
License: Free for non-commercial use
All time users: 837 users
All time rank: 3359
Week users: 2 users
Week rank: 1706
Picture of akash
Author: akash <e-mail contact>
Packages: 3 Browse this author's classes Browse this author's classes
Country: India India - PHP jobs in India
Age: ???
All time rank: 95542 in India India
Week rank: 456 Up29 in India India Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x


  Detailed description  
This package can be used to run multiple parallel scripts using a C++ program.

It can start parallel scripts that may run synchronously or asynchronously using the compiled C++ program to run PHP command line program.

It can control the execution of parallel scripts and retrieve their output.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award winner
November 2009
Winner
Some tasks require the execution of lengthy procedures many times.

Often, a better approach to execute such procedures in less time is to start parallel threads that execute parts of the procedures.

PHP can start parallel processes using the pcntl extension, which only works on Linux/Unix-like systems.

This class provides an alternative solution for starting and managing parallel PHP scripts. It uses a separate program written in C++. This program comes in versions for Linux/Unix and Windows.

It is also able to control the execution of the parallel PHP scripts and can capture their output.

Manuel Lemos

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageForker (5 files, 1 directory)
Files folder imagetest (5 files)
Plain text file LICENSE Lic. LICENSE
Plain text file NOTICE Doc. NOTICE
Plain text file README Doc. README

  Files  /  Files folder image Forker  
File Role Description
Files folder imagebin (3 files, 1 directory)
  Plain text file AsynchronousForker.php Example script to handle asynchronous forking
  Plain text file Defines.inc.php Conf. configuration file
  Plain text file Forker.php Class singelton class for a forker
  Plain text file ForkerInit.inc.php Class file to be included in all the scripts to be run in parallel
  Plain text file ForkerManager.inc.php Class main library handler

  Files  /  Forker  /  Files folder image bin  
File Role Description
Files folder imagecommand (1 file)
  Plain text file forker-window.cpp Data forker c++ code for windows platform
  Plain text file forker.cpp Data forker c++ code for *nix platform
  Plain text file Makefile Data *nix install file

  Files  /  Forker  /  bin  /  Files folder image command  
File Role Description
  Plain text file temp.txt Output directory which store all the intermediate files

  Files  /  Files folder image test  
File Role Description
  Plain text file asynchronous-forker.php Example run to test asynchronous forker
  Plain text file asynchronous-output.php Example check asynchronous forker run output
  Plain text file log.txt Output log file to check parallel execution
  Plain text file sleep.php Class file rn as worker for parallel process
  Plain text file synchronous-forker.php Class run to test synchronous forker

Download all files: parallel-php.tar.gz parallel-php.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.