paragasu wrote:

> i am planning to create a web photo gallery. i know there is a lot
> available out there, but i really want to create my own. the problem
> is not about creating  the photo gallery.
> i want it to be scalable.

The first question is - how scalable?  How many photos and how many
users?

> the plan is saving the image metadata in the database and keep the
> original files in a folder. while it work perfectly, i afraid how many
> files 1 directory can keep.

Easily more than 100K.  Depending on your filesystem, directory access
might slow down the bigger it gets.  

> in 1 year, there going to be more than 1000 photo uploaded or more.
> sure it bring problem to maintain thus files.

No, 1000 photos in a single directory will not be a problem at all.


/Per Jessen, Zürich


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

Reply via email to