Re: how to decrease serverload easily?

From: Date: Tue, 02 Oct 2001 15:44:36 +0000
Subject: Re: how to decrease serverload easily?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-69582@lists.php.net to get a copy of this message
Can you think a site with 250.000 visitis (uniques ip) each day? We have very troubles with the mysql server... The, because there is only 1 mysql server... I'm interesting in the solution you pourpose... Where can I get more information about that? thanks ----- Original Message ----- From: "Rasmus Lerdorf" <rasmus@php.net> To: "Martin Lindhe" <martin@humany.com> Cc: <php-general@lists.php.net> Sent: Tuesday, October 02, 2001 5:32 PM Subject: Re: [PHP] how to decrease serverload easily? > > 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#69582) next »