2008年12月14日星期日

Re: [fw-mvc] Image resizing performance question

Hey Marco,

Thanks for the tip about the watermarking class. That will DEF come in
handy.

About my original question, I am more interested in your thoughts on how to
store more then just a few thousand images. What sort of directory structure
algorithm would maximize the number of images I can store on a single
server.

I am setting up a seperate cdn domain for a web project with a subdomain(s)
to store uploaded images, and I expect to be storing ALOT of images.

Marco Pracucci-2 wrote:
>
> Hi,
>
>> I was just curious. What type of algorithm do you use for image
>> storage?
>>
>> The way I am currently doing it is just storing all images in the
>> root of
>> the images directory. I am not sure if this is the most efficient
>> way in
>> terms of maximizing the # of files that can be stored.
>
> It depends on the number of images that you have. If you have just few
> thousands of images, you can put all files into the same directory.
> Otherwise, you should create a directories structure on 2 or more
> levels.
>
> Off topic. If you need a way to auto-place a watermark over the
> images, you can try my own algorithm:
> http://blog.pracucci.com/2008/08/30/watermarks-with-php-and-imagick/
>
> Marco Pracucci
>
>
>

--
View this message in context: http://www.nabble.com/Image-resizing-performance-question-tp20993012p20999380.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: