multiple servers (sorry for the double posting) multiple servers (sorry for the double posting)
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

multiple servers (sorry for the double posting)

Started by profezor, July 31, 2005, 09:25:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

profezor

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

Is anyone doing  it?


profezor

Joachim Müller

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

profezor

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

Joachim Müller

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.