George George

George George

  • NA
  • 778
  • 0

Http session issue

Dec 30 2008 8:33 AM

Hello everyone,

I am interested in how load balaning handles Http user session. For example, suppose the amazon's online shopping application, thousands of backend servers.

Load balancer could keep the same user session on the same Http backend server, so that user shopping chart only resides on one server which the user initialially connects to, no need to keep shopping chart replicated on both servers. (I remember this feature called session affinity.)

How could load balancer recognize user session automatically? Any Http field indicate user session concept? I think there should be a general way to identify a user session, no need to program on load balancer to let load balancer know how to differentiate a user xession for different application -- since differnet web application may have different ways to identify session concept.

thanks in advance,
George


Answers (2)