RE: Very Large text file parsing

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

 



Paul Scott wrote:

> On Thu, 2007-09-20 at 12:50 +0100, Edward Kay wrote:
>> In addition to Martin's good suggestions (and also assuming you're
>> running php-cli via cron), you could use nice to stop it consuming
>> too many resources:
>> 
> 
> This is the current approach that I am taking, was just really
> wondering if there was some kind of voodoo that would speed things up
> a bit.

Given that you've got significant IO on both sides (file in, database
out), multi-threading it could work wonders.  Not sure how you'd go
about that in PHP though.


/Per Jessen, Zürich

--
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