Page 1 of 1

PHP forking help

Posted: Wed Mar 26, 2008 5:01 am
by thamizhchelvan
Hi,

I need help on php forking. I have the following questions:

1] In which situation should I use php forking
2]

I have a script that extracts data from 300 sites, normally it would take 2 to 3 hours to finish, should I exeucte this script from a normal cron or should I use phpforking for this?

Thanks in advance

Re: PHP forking help

Posted: Wed Mar 26, 2008 12:02 pm
by Christopher
If you want to run many processes in parallel, I would recommend doing that at the OS level. The PHP way is to use systems designed for each job, not reinvent the wheel.