Apache 2.2 and proxy_balancer - tcp session pipelining

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

I first posted this question to comp.infosystems.www.servers.unix but had no response.

mod_proxy_balancer is cool - I like this, guys, thank you.

I want to load balance a number of back-end worker/target servers that host one web application. This is easy to do :

        <Proxy balancer://mysite>
                Order allow,deny
                Allow from all
                BalancerMember http://10.1.2.3:80
                BalancerMember http://10.1.2.4:80
        </Proxy>
        ProxyPass /r balancer://mysite/
        ProxyPassReverse /r balancer://mysite/

Now, what I want to do this time is configure my reverse proxy server to open several connections to each of the back end worker servers when the proxy starts to my back end hosts so that the tcp session can be pipelined, thus preventing the burden of creating and tearing down tcp sessions on the back end boxes for new visitor requests.

I found some documentation on the httpd.apache.org website which seemed to describe what I want to do :

Parameter Default       Description
min       0             Minumum number of connections
               that will always be open to the backend server.
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

However, this doesn't cleanly map on to the balancer model. If I add 'min=4' to the BalancerMember line this is ignored, and if I add the same to the 'ProxyPass' lines, apache does not understand the configuration.


Anyone thought of a way around this ?  Is it a feature request ?

TIA




--
Andy Davidson - ( http://www.andyd.net/ )


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux