AW: [PHP] scalable web gallery
- From: andreas@xxxxxxxxx ("Andreas J.")
- Date: Thu, 10 Jul 2008 10:01:27 +0200
That isn?t really much.in 1 year, there going to be more than 1000 photo uploaded or more.
A directory can held much more than a few thousand files.
They use more than one Server because 1 Server can't handle the load. The
don?t do that because of limited File system.
But the file system may get slower if you have thousands of files in one
dir. So maybe make dirs like c/a/cartoon.jpg to get not too much files in
one dir.
If you need several Servers for this depends on how many visitors you have.
-----Ursprüngliche Nachricht-----
Von: paragasu [mailto:paragasu@xxxxxxxxx]
Gesendet: Donnerstag, 10. Juli 2008 09:47
An: php-general@xxxxxxxxxxxxx
Betreff: [PHP] scalable web gallery
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 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.
in 1 year, there going to be more than 1000 photo uploaded or more.
sure it bring problem
to maintain thus files.
when i see big2 website out there like friendster, photobucket. the
url for the image change
like
pic-1.domain.com/images/filename.jpg
pic-2.domain.com/images/filename.jpg
etc. they seems to put the image in different subdomain. Just wan't to
ask anyone who
did create a big-big web gallery like this. How did you do it?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
- References:
- scalable web gallery
- From: paragasu
- scalable web gallery
- Prev by Date: Re: [PHP] Pear DB
- Next by Date: Re: [PHP] scalable web gallery
- Previous by thread: scalable web gallery
- Next by thread: Re: [PHP] scalable web gallery
- Index(es):
Relevant Pages
|