Re: HTTP router point-of-view concerns

On Sat, Jul 13, 2013 at 07:21:32PM +0000, Poul-Henning Kamp wrote:
> In message <20130713191202.GN32054@1wt.eu>, Willy Tarreau writes:
> 
> >No problem but we really need the server side to be able to adjust
> >part of this field.
> 
> Could you oblige me with an example, since I seem unable to come
> up with one myself ?

Yes. Client picks a random session ID with the highest 16 bits = 0,
sends the request to the first server. The load balancer overthere
puts the DC ID and the local server ID in these bits and sends this
ID back to the client along with the response. When upon a subsequent
request the client is directed to a different DC, the information
about the location of the client's context is found and the context
can be retrieved.

Willy


> 
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.

Received on Saturday, 13 July 2013 19:32:44 UTC