Forum Moderators: phranque

Message Too Old, No Replies

Performance tuning ProxyPassReverse

         

whoisgregg

7:57 pm on Oct 30, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have two in-house web servers. All port 80 traffic is directed at the router to Server A. Server B also needs to host a website.

I thought I could just set up a virtual host on Server A to ProxyPassReverse all requests to Server B. In fact, I did and it worked instantly. Unfortunately, it is also really really slow compared to directly connecting to Server B.

It almost seems like Server A is bottlenecked by how many simultaneous requests it can pass to Server B? Just a theory... really I'm hoping for any performance tuning tips.

Or, perhaps an entirely different solution? I'm not a network guy (and neither is my network guy) so maybe there's just some way to configure the router to split the web traffic between two servers?

Here's how I have my virtual host setup:


<VirtualHost 192.168.123.a:80>
ServerName subdomain.example.com
ProxyRequests Off
ProxyPass / http://192.168.123.b/
ProxyPassReverse / http://192.168.123.b/
... other code here ...
</VirtualHost>

whoisgregg

6:53 pm on Nov 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



bump... Any thoughts on a better way to do this?