Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Does anyone have any experience with coppermine hosting +70k pictures?  (Read 3069 times)

0 Members and 1 Guest are viewing this topic.

crippe

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • My photos

Does anyone have any experience with coppermine hosting +70k pictures? I'm sure the script will work fine, but will it still work fast enough? Do you have any experince or thoughts about this please post it here ;-)

Regards

Crippe
« Last Edit: February 24, 2005, 12:43:44 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Does anyone have any experience with coppermine hosting +70k pictures?
« Reply #1 on: February 24, 2005, 09:21:59 am »

This depends on the file size, traffic and various other parameters, there's no general recommendations we could give. There's a thread that deals with web hosting recommendations in  http://forum.coppermine-gallery.net/index.php?topic=15187.0
I have seen coppermine installs with such a huge amount of pics flawlessly, but after all it's not a question of files in the db, but how many visitors you expect to have and what traffic they will generate. As a rule of thumb the index page of your gallery is most critical, as it will eat up most resources. Try to have as few as possible meta albums there, and show less details on it to save traffic and bandwidth.

Joachim
« Last Edit: February 24, 2005, 01:19:33 pm by GauGau »
Logged

crippe

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • My photos
Re: Does anyone have any experience with coppermine hosting +70k pictures?
« Reply #2 on: February 24, 2005, 11:20:22 am »

Thanks for your input GauGau, much appriciated !

Regards

Crippe
Logged

TerryG

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 45

Hey Crippe,

We're not at 70k pictures (and because of prudent pruning we probably never will be) but we are seeing a lot of traffic, and recently I had to spend some time figuring out why we were consuming over 35 GB of bandwidth in one month.  Since I want to grow the site to approximately ten times the amount of current traffic, I had to figure out where the bandwidth was going and how to fix it.  Here's what I found:

1.  EXIF data in thumbnails will bloat your primary index page.  And since it changes often it is almost guaranteed to be never cached by the browser.  You MUST ensure that the thumbnails are not greater than a couple K size each.  Changing ImageMagick parameters will accomplish this (there are topic threads about how to do it), I don't know about GD.

2.  Huge HTML indentation.  This may sound odd, but last month we served 216,883 pages.  I noticed that the theme I was using had a whole lot of indentation going on.  The index page works out to be about 1650 lines of HTML, and about 1/2 of the lines were indented (on average) 20 spaces, making for almost 16500 useless space characters per page.  Times the number of pages per month = 3,578,569,500 chars = 3.4 Gb  (Can someone check my math?)

3.  Poor layout design.  I noticed a TON of references to spacer.gif in each each page.  Removing the majority of them and replacing them with CSS styling attached to elements reduced the number of external references AND page size significantly.

NOTE -- to get an idea about how your pages are doing in terms of efficiency I highly recommend NS's "Page Info" window -- it will allow you to check on all sorts of interesting things about a page once it's been loaded. 

Good luck with your big site

Terry
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

try using output compression (if supported on your server).
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.