Re: image files - upload and managment
| From: | Greg Donald | Date: | Sun, 31 Oct 2004 13:57:04 +0000 |
| Subject: | Re: image files - upload and managment | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200769@lists.php.net to get a copy of this message | ||
On 30 Oct 2004 22:30:35 -0000, Matthew Weier O'Phinney
<matthew@garden.org> wrote:
> I have difficulty believing retrieving an image from a database will
> have similar speed performance as simply grabbing it from the
> filesystem... and if you're seeing a need to cache images on the
> filesystem anyways, that's certainly already an argument against it.
Zend.com / Leon Atkinson benchmarked it.
http://www.zend.com/zend/trick/tricks-sept-2001.php
<snip>
Conclusions
Based on the test results, it seems that keeping files in a database
cuts performance by approximately a third. It's hard to accept this
penalty in light of any meager advantages offered by keeping the files
in the databases instead of in a directory.
</snip>
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/