Re: how to decrease serverload easily?
| From: | ReDucTor | Date: | Tue, 02 Oct 2001 16:07:51 +0000 |
| Subject: | Re: how to decrease serverload easily? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69590@lists.php.net to get a copy of this message | ||
http://conf.php.net/pres/slides/intro/tshirt.php?si=30&text=php
That doesn't work, Its in the imlib2 section :D and i wanted to see a pic
with php logo on it :D
----- Original Message -----
From: "Rasmus Lerdorf" <rasmus@php.net>
To: "Martin Lindhe" <martin@humany.com>
Cc: <php-general@lists.php.net>
Sent: Wednesday, October 03, 2001 1:32 AM
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
>