forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: profezor on July 31, 2005, 09:25:11 pm

Title: multiple servers (sorry for the double posting)
Post by: profezor on July 31, 2005, 09:25:11 pm
Can Coppermine run across multiple servers?
If so is it easy?

Is anyone doing  it?


profezor
Title: Re: multiple servers (sorry for the double posting)
Post by: Joachim Müller 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
Title: Re: multiple servers (sorry for the double posting)
Post by: profezor 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
Title: Re: multiple servers (sorry for the double posting)
Post by: Joachim Müller 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 (http://forum.coppermine-gallery.net/index.php?action=profile;u=59) 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.