Questions tagged [sticky-sessions]

Sticky Sessions are a load-balancing method where individual user-sessions are kept to a single back-end server for the life of the session, and sessions are load-balanced across the whole pool. When one back-end server dies, only those user-sessions are interrupted.

Filter by
Sorted by
Tagged with
5 votes
2 answers
29k views

HAProxy with SSL and sticky sessions

We're trying to set up HAProxy (v1.5.1) to use SSL. While we managed to do that, we're having some issues with the round robin settings: We do want to have stick sessions, but haproxy seems to send ...
Ayelet's user avatar
  • 151
33 votes
2 answers
30k views

Do HTTP reverse proxies typically enable HTTP Keep-Alive on the client side of the proxied connection and not on the server side?

HAProxy has the ability to enable HTTP keep-alive on the client side (client <-> HAProxy) but disable it on the server side (HAProxy <-> server). Some of our clients connect to our web service ...
LostInComputer's user avatar
14 votes
3 answers
48k views

What is the downside to sticky sessions with load balancers?

We have a web farm of IIS7 machines which work great. In front of them is an F5 Big-IP hardware load balancer, also working fine :) (source: www.f5.com) Currently we're using an ASP.NET State ...
Pure.Krome's user avatar
  • 6,608
3 votes
2 answers
11k views

What IP does nginx use for ip_hash sticky sessions?

Does nginx use the direct client's IP for ip_hash, or does it also observe X-forwarded-for HTTP header to use as the IP address to ip_hash? For example, in a situation where some clients using a ...
Richard Nichols's user avatar
1 vote
1 answer
3k views

Haproxy 1.5x reload configuration without terminating layer 7 sessions?

Folks, I moved one of our SaaS applications off a coyote point hardware load balancer onto a vm running nginx + haproxy with haproxy handling hash persistence. The problem I'm running into is the ...
Jchieppa's user avatar
  • 168