AW: scalable web gallery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> in 1 year, there going to be more than 1000 photo uploaded or more.
That isn?t really much.

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:  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


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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux