Scalability of PHP image galleries

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • leegold

    Scalability of PHP image galleries

    There are a lot of PHP image gallery scripts out there. I wondered what
    would be the ones that would scale for very big collections and heavy use.
    Hundreds of users maybe thousands of users at a time and huge DBs of images.
    Provided I had the hardware...

    If you cited some names or links - I'd like to investigate it for my own
    personal techie interest.

    Thanks


  • Jim Michaels

    #2
    Re: Scalability of PHP image galleries

    I hear you should recode whatever it is using mysqli functions and avoid
    using variables injected into an SQL statement. use mysqli_prepare( ) and
    its related functions to feed your parameters in. MySQL can then cache SQL
    statements. whatever helps I guess.

    "leegold" <goldtech@world post.com> wrote in message
    news:1BRAf.1180 3$jd5.343@trndd c02...[color=blue]
    > There are a lot of PHP image gallery scripts out there. I wondered what
    > would be the ones that would scale for very big collections and heavy use.
    > Hundreds of users maybe thousands of users at a time and huge DBs of
    > images.
    > Provided I had the hardware...
    >
    > If you cited some names or links - I'd like to investigate it for my own
    > personal techie interest.
    >
    > Thanks
    >
    >[/color]


    Comment

    • Steve

      #3
      Re: Scalability of PHP image galleries

      On Sun, 22 Jan 2006 20:06:21 +0000, leegold wrote:
      [color=blue]
      > There are a lot of PHP image gallery scripts out there. I wondered what
      > would be the ones that would scale for very big collections and heavy use.
      > Hundreds of users maybe thousands of users at a time and huge DBs of images.
      > Provided I had the hardware...
      >
      > If you cited some names or links - I'd like to investigate it for my own
      > personal techie interest.
      >
      > Thanks[/color]
      It'll scale to orders of magnitude higher if you don't store the images
      in the database... just save filenames.

      Comment

      • Manuel Lemos

        #4
        Re: Scalability of PHP image galleries

        Hello,

        on 01/22/2006 06:06 PM leegold said the following:[color=blue]
        > There are a lot of PHP image gallery scripts out there. I wondered what
        > would be the ones that would scale for very big collections and heavy use.
        > Hundreds of users maybe thousands of users at a time and huge DBs of images.
        > Provided I had the hardware...
        >
        > If you cited some names or links - I'd like to investigate it for my own
        > personal techie interest.[/color]

        The problem of image galleries is that they serve too many images at
        once per page. This kills Web servers like Apache 1.x that need to fork
        too many processes and that kills the database server if you use
        persistent connections.

        For serving too many images at once it is better to use a multithreaded
        HTTP server like thttp. For the page scripts, you can use Apache as
        usual. Read here for a more detailed explanation of the problem:



        --

        Regards,
        Manuel Lemos

        Metastorage - Data object relational mapping layer generator


        PHP Classes - Free ready to use OOP components written in PHP
        Free PHP Classes and Objects 2026 Versions with PHP Example Scripts, PHP Tutorials, Download PHP Scripts, PHP articles, Remote PHP Jobs, Hire PHP Developers, PHP Book Reviews, PHP Language OOP Materials

        Comment

        Working...