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
PHP forking help
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: PHP forking help
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.
(#10850)