httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39267] - mod_proxy_balancer does not work with connection keepalive
Date Wed, 12 Apr 2006 01:50:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39267>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39267





------- Additional Comments From yneko@yamamaya.com  2006-04-12 02:50 -------
Following is the simple example. There are only 1 client, 1 proxy, 1 backend 
and 1 connection, to easy to understand.
Example1 is the behavior of mod_proxy. It works perfectly with keepalive and 
connection pool.
Example2 is the most simple behavior of mod_proxy_balancer with only 1 backend 
server. It does not reuse the connection however it can be reusable.

################ Example1 ################
## conf
ProxyRequests Off
ProxyPass / http://backend/ min=1 max=1

## tcp packets (ACK packets are omitted)
client =====syn=====> proxy
client =====GET1====> proxy
                      proxy =====syn=====> backend
                      proxy =====GET1====> backend
                      proxy <=====RES1==== backend
client <=====RES1==== proxy
client =====GET2====> proxy
                      proxy =====GET2====> backend
                      proxy <=====RES2==== backend
client <=====RES2==== proxy
                        :
client <=====fin===== proxy (keepalive timeout)
                        :
                      proxy <=====fin===== backend (keepalive timeout)


################ Example2 ################
## conf
<Proxy balancer://cluster/>
    BalancerMember http://backend min=1 max=1
</Proxy>
ProxyPass / balancer://cluster/

## tcp packets (ACK packets are omitted)
client =====syn=====> proxy
client =====GET1====> proxy
                      proxy =====syn=====> backend
                      proxy =====GET1====> backend
                      proxy <=====RES1==== backend
client <=====RES1==== proxy
client =====GET2====> proxy
                      proxy =====fin=====> backend
                      proxy =====syn=====> backend
                      proxy =====GET2====> backend
                      proxy <=====RES2==== backend
client <=====RES2==== proxy
                        :
client <=====fin===== proxy (keepalive timeout)
                        :
                      proxy <=====fin===== backend (keepalive timeout)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message