Re: Executing functions or scripts in parallel

From: Date: Wed, 31 May 2006 05:14:06 +0000
Subject: Re: Executing functions or scripts in parallel
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-237128@lists.php.net to get a copy of this message
On Tue, May 30, 2006 9:55 am, Phil Martin wrote: > I've made a very basic and small function to suit my needs in > monitoring some hosts services. I've noticed that the script is a > little bit > slow because of the number of hosts and services to monitor. Is there > a way > to execute my function servstatus(); in parallel with every hosts to > increase the speed ? No, but if it's using http://php.net/fsockopen, that can be done asynchronously... You'll have to gut and change your servstatus() function to take a BUNCH of servers to check, and open them all async, and then test them all... -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#237128) next »