PDA

View Full Version : Synchronizing few apache servers


LandRover
02-04-2007, 02:39 PM
Hey,

I'm running Apache 1.3 and PHP5 based forum.
The server at peak times hits load avg. up to 20-40 which makes it all slow and impossible to use.

* the database, MySQL v5 server runs on different dedicated server and seem to work great.

I would like to add one more apache server to split the load but cant figure how to do that.
When user logins to "www.server.com" I would like the system to automaticly decide which server should handle the request, without redirects to subdomains.

Like wikipedia for example, if you'll do "view source" on the web page at the bottom of the page you'll notice:
"<!-- Served by srv98 in 0.126 secs. --></body></html>"

I hope I explained it all clear https://vborg.vbsupport.ru/external/2007/02/34.gif

Thank you for your time and support.

LandRover
02-27-2007, 04:19 AM
is it possible at all ? to create unix based apache cluster?

Marco van Herwaarden
02-27-2007, 09:18 AM
You would need a Load Balancer to gain from running multiple servers.

Are you however sure that the procesor is the bottleneck? I suggest you start with posting an Optimisation Request at the Server Configuration forum at www.vbulletin.com