473,508 Members | 2,040 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jan 22 '06 #1
3 1150
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" <go******@worldpost.com> wrote in message
news:1BRAf.11803$jd5.343@trnddc02...
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

Jan 23 '06 #2
On Sun, 22 Jan 2006 20:06:21 +0000, leegold wrote:
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

It'll scale to orders of magnitude higher if you don't store the images
in the database... just save filenames.

Jan 23 '06 #3
Hello,

on 01/22/2006 06:06 PM leegold said the following:
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.


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:

http://www.meta-language.net/metabas...ve-connections

--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
Jan 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2295
by: Lorenzo Bolognini | last post by:
Hi all, i'm looking for a free image gallery generator in ASP 3 on ASP+. I've already looked on sourceforge.net but no one seems to fit my needs which include: - admin area to create/destroy...
2
286
by: Shabam | last post by:
I have a dotnet application and it allows users to store images. These images are partitioned by directories so as to prevent overflow of files in any specific folder. However, for scalability...
10
6736
by: cjparis | last post by:
Hello everyone. If anyone can give me a hand I would be gratefull Am doing a site which requires a moving element and have used DHTML to do it. Have a simple Browser detect script to sort IE...
11
2132
by: timmyb | last post by:
I have an image that is supposed to be in a centered div in the center of a page. It looks fine in IE7. But in Firefox, the image is pushed way over to the right. ...
4
23830
by: tswaters | last post by:
Alright, so generally I'm using document.createElement("IMG").... but, I've noticed something just recently that made me switch to "new Image()" What I'm doing is creating a photo gallery of...
11
5795
by: shapper | last post by:
Hello, I am displaying an image on a few pages. The image size is 50 px height and 50 px width. In some pages I need the image to be 30x30 px in others 40x40 px and in others 50x50px. Can I...
2
7914
by: saveyongba | last post by:
Hello, I am new to this website so I hope I'm doing this correctly.... Some of the pages on my website are image galleries, and when you roll your cursor over a small image icon, a full-sized...
0
2697
by: aromes | last post by:
Hi, How to grab pictures out of online Flash image galleries? I will have the same question for hp/javascript online photo galleries as well (but will post them in their relevant sections unless...
1
2280
by: aromes | last post by:
How to Grab pictures out of online JAVASCRIPT image galleries? Thanks so much
0
7226
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7125
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7049
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7499
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5631
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1561
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.