PHP thread pool?
Posted
by embedded
on Stack Overflow
See other posts from Stack Overflow
or by embedded
Published on 2010-04-07T11:48:47Z
Indexed on
2010/04/07
11:53 UTC
Read the original article
Hit count: 225
I have scheduled a CRON job to run every 4 hours which needs to gather user accounts information. Now I want to speed things up and to split the work between several processes and to use one process to update the MySQL DB with the retrieved data from other processes.
In JAVA I know that there is a thread pool which I can dedicate some threads to accomplish some work.
how do I do it in PHP?
Any advice is welcome.
Thank
© Stack Overflow or respective owner