Posted by Manuel Lemos on 10/04/07 00:00
Hello,
on 09/29/2007 07:12 AM qwertycat@googlemail.com said the following:
> I'm new to multi-process programming, should one avoid forking
> children from children of a parent?
>
> I'd like to spawn 10 children from the parent and each of those
> children spawns another 5 children which process chunks of data (200
> rows) with heavy usage of CPU and regexp
Here you may find several classes that can simplify that task for you:
http://www.phpclasses.org/php_fork
http://www.phpclasses.org/daemon
http://www.phpclasses.org/clsdaemonize
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
Navigation:
[Reply to this message]
|