> We're developing a web platform based on PHP, running under Apache. We have > realized that we need a way of "split up" the serverload to multiple > machines if it gets too high. We've come up with PHP solutions to the > problem but are looking for better ones, especially in Apache configuration. > Is there any easy way of doing this? Anyone have previous experience? > > Software versions and OS'es is of no concern, we'll use what's required.
Have a look at http://conf.php.net/sdphp and have a look at slides 46 through 48. Basically, I would suggest a Squid reverse proxy as a front-end to your system. Have it use a redirector like SquidGuard to distribute requests across multiple backend web servers, and if you need to distribute your database load as well, set up a single master mysql server which replicates to read-only servers on each of the load balanced Apache servers. And if you are getting really crazy traffic, you could round robin across multiple frontend squid servers. But I would be very surprised if you are doing anything that is getting that much traffic. How many hits per second are you expecting? -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]