AW: [PHP] scalable web gallery



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

.



Relevant Pages

  • Re: I need help with photo gallery
    ... I'm sorry you had a bad experience with the photo gallery. ... It's very possible that the problem is with the server, as I have yet to have problems with one. ... >> Microsoft MVP FrontPage ... >>> album slideshow to the right next to the buttons. ...
    (microsoft.public.frontpage.client)
  • Re: Gallery Problems in FP 2002
    ... Shouldn't be a problem to create a site (or photo gallery) directly on the remote server, ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... In one of your previous posts you said you Saved it to your online website. ...
    (microsoft.public.frontpage.client)
  • Re: How to dynamically chose download file
    ... > My solution has always been to make an anchor to a server side script, ... > you could save an extra request to the server, as well an extra passing of ... That would be very beneficial for a photo gallery ... client-side scripting necessary for what the OP really wants. ...
    (comp.lang.javascript)
  • Re: FP Gallery (Revisited)
    ... So if you are working directly on the remote server, then make sure you have imported the images ... into a folder within the web before creating the photo gallery. ... Is it too much to ask for step by step directions? ...
    (microsoft.public.frontpage.client)