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: multiple servers (sorry for the double posting)  (Read 3284 times)

0 Members and 1 Guest are viewing this topic.

profezor

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
multiple servers (sorry for the double posting)
« on: July 31, 2005, 09:25:11 pm »

Can Coppermine run across multiple servers?
If so is it easy?

Is anyone doing  it?


profezor
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: multiple servers (sorry for the double posting)
« Reply #1 on: July 31, 2005, 10:49:37 pm »

If your question means: can I store pics on one server and the coppermine files on the other, then the answer is: no and no. Has been asked very often already, please search before posting. If you're asking wether servers can be clustered, then the answer is: probably yes
Logged

profezor

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: multiple servers (sorry for the double posting)
« Reply #2 on: August 01, 2005, 10:27:10 pm »

I did a search and did not find anything.
Would clustering servers give me the same effect ( bandwidth control, load , etc.)?
How hard would that be to set up?

profezor
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: multiple servers (sorry for the double posting)
« Reply #3 on: August 02, 2005, 07:44:05 am »

true clustering isn't done on application level, but on OS level. Our host sourceforge for example uses server clustering. We (as users who are hosted on their server cluster) don't notice the difference. So if you're looking for a real "pro" solution, you'll have to look for server clustering solution. A first step (on application level though) would be to have the mySQL database on another server than the actual PHP files, and the albums folder yet on another server (or even on multiple servers), using a symlink. To find good solutions, you'll have to find out first where the bottleneck is for you: is it computing power (as the script uses memory and burns cpu cycles), is it bandwidth, is it disk space or is it the database that lags? As mentioned in the other thread you started, there are third party tools that let you monitor all those data. For a workaround, you should reduce the detail level of your pages: less meta albums means less database queries, less pics to be delivered etc. There's a whole lot of optimization you could do before you actually have to think in a wider scale about server clustering. There have been discussions in the past about huge coppermine installs (with several 100,000 pics in the database and many gigs of traffic each day), you may want to search those threads (I think it was Oasis who posted a lot in those threads, just to give you an idea what to search for).
Please post a link to your site as well, maybe we can spot some things that will improve your situation.
Logged
Pages: [1]   Go Up
 

Page created in 0.436 seconds with 19 queries.