- From: Willy Tarreau <w@1wt.eu>
- Date: Sat, 13 Jul 2013 21:30:52 +0200
- To: Poul-Henning Kamp <phk@phk.freebsd.dk>
- Cc: Sam Pullara <spullara@gmail.com>, Mark Nottingham <mnot@mnot.net>, James M Snell <jasnell@gmail.com>, Martin Thomson <martin.thomson@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
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