Welcome! Log In Create A New Profile

Advanced

Re: Thanks !

Jérôme Loyet
July 07, 2009 11:34AM
2009/7/7 jeff emminger <jemminger@gmail.com>:
>>>
>>> mod_balancer
>>
>> We're not using mod_balancers, we have two dedicated servers running
>> LVS. LVS load balances requests to nginx which sent the request to
>> apache / php on localhost.
>>
>>
>
> I'm just curious as to why putting nginx in front of it all allows
> apache+php to handle the load, when it seems to be handling the same
> requests (for the php) as before. Unless there is a lot of static
> content that nginx is now handling?

nginx as a reverse proxy handles the connections (keepalived) so
apache does not have to spend time and ressources to handle them. THen
nginx is caching PHP pages, so apache load is much much less than
before (hundreds of process befire, only several now).
Subject Author Posted

Thanks !

Jérôme Loyet July 07, 2009 08:19AM

Re: Thanks !

jeff emminger July 07, 2009 08:46AM

Re: Thanks !

Jérôme Loyet July 07, 2009 08:54AM

Re: Thanks !

jeff emminger July 07, 2009 10:09AM

Re: Thanks !

Jérôme Loyet July 07, 2009 10:22AM

Re: Thanks !

jeff emminger July 07, 2009 11:01AM

Re[2]: Thanks !

Denis F. Latypoff July 07, 2009 11:26AM

Re: Thanks !

Gabriel Ramuglia July 07, 2009 11:34AM

Re: Thanks !

Jérôme Loyet July 07, 2009 11:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 134
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready