Re: Alteon cookie insert and http/1.1

Tony Bourke <[email protected]> Thu, 1 Apr 2010 07:15:18 -0700
Newsgroups gmane.comp.programming.load-balancing.general
Message-ID <[email protected]>
Hi Nicolas, 

The problem is the "attention span" of the Alteon.  

With HTTP 1.1, multiple HTTP requests (each request having it's own header, where the cookies reside) can be sent over a single TCP connection. 

It sounds like the Alteon is inserting a cookie on the first HTTP request in a TCP connection, but ignoring the subsequent requests in that TCP connection.  Basically, your Alteon has a short attention span.  This is typically the default setting for most load balancers. 

Some load balancers let you change this setting, so that the load balancer pays attention to *all* HTTP requests in a TCP stream.   In the Cisco ACE, it's called "persistence rebalance".  F5 has a similar setting.  I'm not sure if the Alteon has such a setting.  

In HTTP/1.0, only one HTTP request is allowed per TCP connection, so the attention span of the load balancer is irrelevant. 

Tony








On Apr 1, 2010, at 4:48 AM, [email protected] wrote:

> Hello, 
> 
> I've got a problem with an Alteon (25.0.0) which is configured to do cookie-based persistence with cookie insert mode. 
> HTTP requests goes through a proxy before reaching the Alteon. 
> If the proxy uses HTTP/1.1 to forward requests to the Alteon, randomly, the Alteon doesn't insert cookie in the responses. When we use HTTP/1.0 on the proxy there is no problem ; the cookie is always present in traffic going back to the proxy.
> 
> The Alteon is configured like this : 
> 
> /c/slb/virt 5/service http
> 	group 1
> 	rport 8080
> 	dbind ena
> /c/slb/virt 5/service 80/pbind cookie insert MyCookie dname "path=/"
> /c/slb/virt 5/service 80/http/rcount 1
> 
> Is there any way to use HTTP/1.1 without loosing the cookie ?
> 
> Thanks in advance, 
> Nicolas
> _______________________________________________
> lb-l mailing list
> [email protected]
> http://vegan.net/mailman/listinfo/lb-l
> Searchable Archive: http://vegan.net/lb/archive
> http://lbdigest.com Load Balancing Digest
> http://lbwiki.com Load Balancing Wiki

_______________________________________________
lb-l mailing list
[email protected]
http://vegan.net/mailman/listinfo/lb-l
Searchable Archive: http://vegan.net/lb/archive
http://lbdigest.com Load Balancing Digest
http://lbwiki.com Load Balancing Wiki