Re: [PHP] how to decrease serverload easily?

2001-10-02 Thread Rasmus Lerdorf

 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]




Re: [PHP] how to decrease serverload easily?

2001-10-02 Thread paharito

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 [EMAIL PROTECTED]
To: Martin Lindhe [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
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]




Re: [PHP] how to decrease serverload easily?

2001-10-02 Thread ReDucTor

http://conf.php.net/pres/slides/intro/tshirt.php?si=30text=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 [EMAIL PROTECTED]
To: Martin Lindhe [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
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]




Re: [PHP] how to decrease serverload easily?

2001-10-02 Thread Rasmus Lerdorf

Yes, some of the slides don't work on conf.php.net.  One of these days I
will get around to fixing that.  Everything works fine on my laptop, so
come to one of my talks.  ;)

-Rasmus

On Wed, 3 Oct 2001, ReDucTor wrote:

 http://conf.php.net/pres/slides/intro/tshirt.php?si=30text=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 [EMAIL PROTECTED]
 To: Martin Lindhe [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 





-- 
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]




Re: [PHP] how to decrease serverload easily?

2001-10-02 Thread ReDucTor

Would be nice and fun to goto one of them, but I live in Australia and I
doubt, thats where you go  :D hehe

- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: ReDucTor [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 2:09 AM
Subject: Re: [PHP] how to decrease serverload easily?


 Yes, some of the slides don't work on conf.php.net.  One of these days I
 will get around to fixing that.  Everything works fine on my laptop, so
 come to one of my talks.  ;)

 -Rasmus

 On Wed, 3 Oct 2001, ReDucTor wrote:

  http://conf.php.net/pres/slides/intro/tshirt.php?si=30text=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 [EMAIL PROTECTED]
  To: Martin Lindhe [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  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: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   To contact the list administrators, e-mail:
[EMAIL PROTECTED]
  
 
 
 


 --
 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]



-- 
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]




Re: [PHP] how to decrease serverload easily?

2001-10-02 Thread Rasmus Lerdorf

 Would be nice and fun to goto one of them, but I live in Australia and I
 doubt, thats where you go  :D hehe

I have given talks in Australia.  Both in Sydney and Canberra.  And I will
be at linux.conf.au in Brisbane in February.

-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]




RE: [PHP] how to decrease serverload easily?

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)


What about in Europe and Japan. I live between Italy and Tokyo. I only
met Zeev Suraski and Doron (the CEO of Zend) representing my company on
a meeting in Tokyo this June. What about you? Are there any speeches you
do in my locations?


Maxim Maletsky
www.PHPBeginner.com




-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] 
Sent: martedi 2 ottobre 2001 18.21
To: ReDucTor
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] how to decrease serverload easily?


 Would be nice and fun to goto one of them, but I live in Australia and

 I doubt, thats where you go  :D hehe

I have given talks in Australia.  Both in Sydney and Canberra.  And I
will be at linux.conf.au in Brisbane in February.

-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]



-- 
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]




RE: [PHP] how to decrease serverload easily?

2001-10-02 Thread Rasmus Lerdorf

Nothing planned for Italy or Japan right now.  Frankfurt, Paris,
Birmingham, Bucaramanga (Columbia) and Brisbane are on the schedule for
the next 6 months.

-Rasmus

On Tue, 2 Oct 2001, Maxim Maletsky (PHPBeginner.com) wrote:


 What about in Europe and Japan. I live between Italy and Tokyo. I only
 met Zeev Suraski and Doron (the CEO of Zend) representing my company on
 a meeting in Tokyo this June. What about you? Are there any speeches you
 do in my locations?


 Maxim Maletsky
 www.PHPBeginner.com




 -Original Message-
 From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
 Sent: martedi 2 ottobre 2001 18.21
 To: ReDucTor
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] how to decrease serverload easily?


  Would be nice and fun to goto one of them, but I live in Australia and

  I doubt, thats where you go  :D hehe

 I have given talks in Australia.  Both in Sydney and Canberra.  And I
 will be at linux.conf.au in Brisbane in February.

 -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]




Re: [PHP] how to decrease serverload easily?

2001-10-02 Thread paharito

hehehe... are you going to travel to Spain?

You can title like: the Rasmus World Tour ;)

- Original Message - 
From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To: 'Rasmus Lerdorf' [EMAIL PROTECTED]; 'ReDucTor' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 6:29 PM
Subject: RE: [PHP] how to decrease serverload easily?


 
 What about in Europe and Japan. I live between Italy and Tokyo. I only
 met Zeev Suraski and Doron (the CEO of Zend) representing my company on
 a meeting in Tokyo this June. What about you? Are there any speeches you
 do in my locations?
 
 
 Maxim Maletsky
 www.PHPBeginner.com
 
 
 
 
 -Original Message-
 From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] 
 Sent: martedi 2 ottobre 2001 18.21
 To: ReDucTor
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] how to decrease serverload easily?
 
 
  Would be nice and fun to goto one of them, but I live in Australia and
 
  I doubt, thats where you go  :D hehe
 
 I have given talks in Australia.  Both in Sydney and Canberra.  And I
 will be at linux.conf.au in Brisbane in February.
 
 -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]
 
 
 
 -- 
 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]
 



-- 
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]




RE: [PHP] how to decrease serverload easily?

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)

Yey! Let's do a little party on Ibiza!

:-)

Though, Spain is OK too :-)



Maxim Maletsky
www.PHPBeginner.com



-Original Message-
From: paharito [mailto:[EMAIL PROTECTED]] 
Sent: martedì 2 ottobre 2001 18.39
To: [EMAIL PROTECTED]
Subject: Re: [PHP] how to decrease serverload easily?


hehehe... are you going to travel to Spain?

You can title like: the Rasmus World Tour ;)

- Original Message - 
From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To: 'Rasmus Lerdorf' [EMAIL PROTECTED]; 'ReDucTor'
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 6:29 PM
Subject: RE: [PHP] how to decrease serverload easily?


 
 What about in Europe and Japan. I live between Italy and Tokyo. I only

 met Zeev Suraski and Doron (the CEO of Zend) representing my company 
 on a meeting in Tokyo this June. What about you? Are there any 
 speeches you do in my locations?
 
 
 Maxim Maletsky
 www.PHPBeginner.com
 
 
 
 
 -Original Message-
 From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
 Sent: martedi 2 ottobre 2001 18.21
 To: ReDucTor
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] how to decrease serverload easily?
 
 
  Would be nice and fun to goto one of them, but I live in Australia 
  and
 
  I doubt, thats where you go  :D hehe
 
 I have given talks in Australia.  Both in Sydney and Canberra.  And I 
 will be at linux.conf.au in Brisbane in February.
 
 -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]
 
 
 
 --
 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]
 



-- 
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]



--
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]




RE: [PHP] how to decrease serverload easily?

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)


What's in Paris?
I know that PHP international Conference will take place in Frankfurt, I
saw your name there as well. But what is it going to be in Paris? Where
could I get some info about it?


Maxim Maletsky
www.PHPBeginner.com



-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] 
Sent: martedi 2 ottobre 2001 18.32
To: Maxim Maletsky (PHPBeginner.com)
Cc: 'ReDucTor'; [EMAIL PROTECTED]
Subject: RE: [PHP] how to decrease serverload easily?


Nothing planned for Italy or Japan right now.  Frankfurt, Paris,
Birmingham, Bucaramanga (Columbia) and Brisbane are on the schedule for
the next 6 months.

-Rasmus

On Tue, 2 Oct 2001, Maxim Maletsky (PHPBeginner.com) wrote:


 What about in Europe and Japan. I live between Italy and Tokyo. I only

 met Zeev Suraski and Doron (the CEO of Zend) representing my company 
 on a meeting in Tokyo this June. What about you? Are there any 
 speeches you do in my locations?


 Maxim Maletsky
 www.PHPBeginner.com




 -Original Message-
 From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
 Sent: martedi 2 ottobre 2001 18.21
 To: ReDucTor
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] how to decrease serverload easily?


  Would be nice and fun to goto one of them, but I live in Australia 
  and

  I doubt, thats where you go  :D hehe

 I have given talks in Australia.  Both in Sydney and Canberra.  And I 
 will be at linux.conf.au in Brisbane in February.

 -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]



-- 
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]