Re: requesting comments on rajmvServiceLog (access + error logging through PHP and JS to MySQL)
| From: | marco@behnke.biz | Date: | Tue, 22 May 2012 13:31:11 +0000 |
| Subject: | Re: requesting comments on rajmvServiceLog (access + error logging through PHP and JS to MySQL) | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-317927@lists.php.net to get a copy of this message | ||
rene7705 <rene7705@gmail.com> hat am 22. Mai 2012 um 15:23 geschrieben:
> Seems to be the writing of the html+json data to a file that's causing
> the delay on my dev server.
>
> Doing the totals calculation on my dev server for 3500 records takes
> about 2.5 seconds, with the old code.
> Will soon see how long it takes with the refactored code of today.
>
> Anyone got a clue about why a few ten thousand calls to fwrite() will
> slow down a wampserver so much?...
Maybe the hdd is not caching properly and is constantly writing and
re-arranging the data?
Is your hdd a bit to much fragmented?
Just 2 guesses.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: marco@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http://www.behnke.biz