Re: scalable web gallery
| From: | Per Jessen | Date: | Thu, 10 Jul 2008 09:36:55 +0000 |
| Subject: | Re: scalable web gallery | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276573@lists.php.net to get a copy of this message | ||
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