Got it. This all makes perfect sense! Thanks Alex. Regards, Kashyap On Sat, Jun 8, 2019 at 12:03 AM Alexander Burger <[email protected]> wrote:
> Hi Kashyap, > > > I see, so if app0, app1 and app2 are on different machines and say the > > first request from the client hits app0, and app0 forks a process to > handle > > the session with the client. I presume that the subsequent requests from > > the client would somehow be routed to app0 - correct? > > Correct, but "would" -> "should". the question is how the load balancer > knows > how to do that. > > > > if so, how is that guaranteed? > > A session is determined by the combination of IP-address, port and session > ID. > Assuming that all machines appear under the same external IP address, the > load > banlancer must know about this, and keep track of the session IDs to pick > the > right machine. > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe >
