load balancing - Difference between session affinity and sticky session? -


What is the difference between session signage and sticky session in context Load Balancing Server?

I have seen those terms in a different word, but there are several ways to implement it: / P>

  1. Send a cookie on the first reaction and see this for the people who follow it, the cookie tells which real server sends.
    Bad If you have to support cookies-free browsers
  2. Participation based on the requester's IP address.
    Bad If it is not stable or many come through the same proxy.
  3. If you authenticate the user, then the partition based on the user name (this should be an HTTP supported authentication mode).
  4. The state is not needed.
    Let customers kill any server (send the state to the customer and send them back)
    This is not a sticky session, this is one way to avoid doing this.

I suspect that the sticky cookie can be done in a manner, and this relation can refer to # 2 and # 3 in some contexts, but it is not that I have noticed that Use it (or use it for yourself)


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -