how to test paralelly?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I would like to measure how much users per minute
can handle my php script, mysql db and apache server

also, would like to determine how much users can be
served at the same time and how script execution time
changes in this case

if i run a script like:

$id = rand(1,70);
$file = http://mydomain/gallery.php?galpage=$id;
if (!($fp = @fopen ($file, "r"))){
    return "";
}


$intext="";
while(!feof($fp)){
    $intext .= fgetc($fp);
}

@fclose($fp);

it does not execute the script paralelly and gives apache

any ideas how can i simulate paralel script execution?

Thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux