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.

learn more… | top users | synonyms

12
votes
2answers
6k 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 ...
8
votes
3answers
22k views

What is the downside to sticky sessions with load balancers?

we have a web farm of IIS7 machines. Works great. In front of them is an F5 Big-IP hardware load balancer. Also working fine :) Now, currently we're using an ASP.NET State Service to handle our ...
4
votes
1answer
587 views

HAProxy: session stickiness triggered by response header possible?

I'm investigating HAProxy as a possible replacement for F5. F5 is capable of persisting a session based on a response header value: when HTTP_RESPONSE { set session [HTTP::header X-Session] if ...
4
votes
1answer
1k views

Using URL parameters for load balancing with HAProxy

I have a system which is load balancing via a cookie, but I want to use a URL parameter as an alternative. (Specifically, I have a front end app which does not support cookies). My setup is a little ...
2
votes
2answers
2k 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 ...
2
votes
1answer
537 views

Amazon EC2 ELB directing load to other instances and session stores

If we scale up (add an instance to ELB), could we redirect some existing requests to the new instance. So that, The users that we force to a new server will be asked to login again If we scale down ...
2
votes
0answers
458 views

AWS ELB session stickiness issue when multiple AWSELB cookies exist in a single request

I have two web apps - App-A & App-B - running in 2 EC2 instances (both web apps are running in both instances) fronted with an AWS ELB. The session stickiness is enabled using 'Application ...
2
votes
2answers
469 views

JBoss7 load balancing with mod_proxy_balancer - session not working

I am trying to set up mod_proxy_balancer for routing requests to 2 jboss7-servers. For the time being I am testing this setup on my local machine, using following config in httpd.conf: ProxyRequests ...
2
votes
0answers
350 views

What is HAProxy appsession request-learn?

I'm reading the HAProxy manual and there is a part that I'm not understanding: request-learn If this option is specified, then haproxy will be able to learn the cookie ...
2
votes
0answers
1k views

nginx sticky sessions / ip_hash with Socket.io

I am to be load balancing two node.js/Socket.io instances on different boxes with nginx running a simple notifications service with a retroactive event for new clients. I don't think there will be ...
1
vote
3answers
560 views

PHP Sessions on Auto-Scaling Servers

(Apologies for cross-posting with SO. I wasn't sure where it was more appropriate.) I'm working on a PHP web app deployed to Amazon Web Services. We have load balancers in front of auto-scaled ...
1
vote
1answer
104 views

Loadbalance UDP traffic with session affinity and way to take servers in & out of rotation [closed]

What is the best way to go about load balancing UDP traffic among a whole bunch of servers, while keeping session affinity based on the users' IP? I need to also be able to take servers in and out of ...
1
vote
1answer
1k views

WARNING: Context manager doesn't exist

I have cluster setup with session replication. I have one load balancer with 2 tomcat instances as the worker nodes. In one of the node I am getting the WARNING. NOt sure what it really means. Session ...
1
vote
2answers
1k views

Haproxy: My sessions are “sort of” sticky

Pound is infront of HAProxy for SSL off-load so HAProxy receives plaint text HTTP requests. I have HAProxy (v1.4.8) infront of two web-app servers hosting the same application. Below is my HAProxy ...
1
vote
1answer
456 views

Memcached session manager in Azure: Connection gets forcibly closed

I am using Memcached Session Manager to handle Tomcat sessions in non-sticky mode. My deployment in Azure consists of a Worker Role with two instances which connect to an Azure VM running my Memcached ...
1
vote
1answer
539 views

mod_ajp_proxy configurations and session stickiness

I have a jboss and apache setup hosting my .war file. I have enabled session stickiness to forward requests from apache to jboss . Assume I have 2 apache and 2 jboss instances. Is the below setting ...
1
vote
1answer
6k views

Load Balancing and Clustering using mod_proxy_ajp on Apache HTTP Server 2.2.21 and Tomcat 7.0.23

I've been struggling to make load balancing and clustering working using these combination: Apache HTTP Server 2.2.21 (httpd-2.2.21-win32-x86-openssl-0.9.8r) using mod_proxy_ajp with sticky session ...
1
vote
2answers
688 views

Tomcat clustering/loadbalancing performance in production environment

I have some doubts on the performance of clustering and session management in load balanced environment. Here are my questions: What are the drawbacks of sticky-sessions and session replication. The ...
1
vote
2answers
823 views

Sticky sessions in Lighttpd

I've read in http://redmine.lighttpd.net/projects/1/wiki/Docs:ModProxyCore that sticky sessions are not currently implemented in lighttpd. I'd like to know if it is possible to have sticky sessions ...
1
vote
1answer
100 views

How to make Nginx fire 504 immediately is server is not available?

I have Nginx set up as a load balancer with cookie-based stickiness. The logic is: If the cookie is NOT there, use round-robbing to choose a server from cluster. If the cookie is there, go to the ...
1
vote
0answers
121 views

Any way to route MSMQ messages based on label?

I have a system with one MSMQ sender (generates about 10k messages/sec) and one MSMQ receiver (2k messages/sec). Generating and sending messages is fast, reading and processing is slow. Hence I want ...
1
vote
2answers
2k views

Pfsense: Inbound Load Balancing https with sticky connection

first of all I'm very sorry for my English... This is my scenario: Internet Firewall+LB: pfsense_1(Active) + pfsense_2(Passive) in CARP Pool servers: 3 x nginx(PHP5+HTTP+HTTPS) Pfsense 1 and 2 ...
1
vote
2answers
581 views

Tomcat-workers: Session management without stickiness

I am learning Tomcat session control and I have 2 workers with sticky_session=1. But I want to remove stickiness to a particular worker yet maintain the session for users. I found the following ...
0
votes
2answers
853 views

Sticky sessions on load balancers with HTTP and HTTPS

How does sticky sessions relate to HTTP and HTTPS; If I place a load balancer in front of some web app servers that run a front end that supports HTTPS, will the sessions remain "sticky" on a typical ...
0
votes
2answers
79 views

HAproxy current session is zero

I have some problems on sticky sessions with HAproxy. Haproxy counts every request as a new session. I have a Java servlet that creates the cookie JSESSIONID. If I refresh that page 5 times. The ...
0
votes
1answer
473 views

Haproxy sticky session not redirecting to different server when backend fails

I have the following configuration for my haproxy LB: global daemon maxconn 2048 # SSL ca-base /etc/ssl/certs crt-base /etc/ssl/private ssl-default-bind-ciphers ...
0
votes
1answer
450 views

Load balance https and websockets wth sticky sessions and NGINX

I'm using NGINX to do sticky session load balancing in front of a node.js app that will support http, ssl, and websockets. If I want the load balancer to simply forward requests to the node.js server ...
0
votes
1answer
179 views

sticky session configuration css 11503

I have two jboss instances behind a cisco css 11503 for load balance. In each of this instances, I have two applications. One of them, needs sticky sessions to be enabled, the other does not. Is it ...
0
votes
1answer
1k 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 ...
0
votes
2answers
1k views

How to replicate apache mod_jk session data

is it possible to replicate the mod_jk sticky session information to another apache for an failover setup? the idea behind the question is to setup two apaches with sticky sessions in front off some ...
0
votes
2answers
473 views

Node Affinity and Load-Balancing - drawbacks?

What are the main drawbacks if we choose to use Node-Affinity (sticky MAC) with a load-balanced IIS solution? We are thinking about using in-memory Session State, so need to evaluate the options. ...
0
votes
0answers
18 views

nginx $upstream_cookie_… variables

nginx 1.7.1 introduced Feature: the "$upstream_cookie_..." variables. see http://nginx.org/en/CHANGES What does it do and how do you use it? Can that be used for Session Affinity when proxying to ...
0
votes
0answers
44 views

Linux Virtual Server or Mod_Proxy to get Sticky clients?

I am researching the loadbalancing subject and have tested two solutions: LVS (linux virtual server) with ipvsadm, ldirectord apache with mod_proxy Both solutions offer a way to "stick" a client ...
0
votes
1answer
72 views

Session clustering with Jetty-runner 8.1.14.v20131031

I'm using Jetty-runner 8.1.14.v20131031 and I would like to know what's the easiest way to achieve session clustering between multiples running instances.
0
votes
1answer
431 views

Apache httpd 2.2.16 creates new sessions every time

I have a server running Apahce httpd 2.2.16 on Debian 6.0.7 I use the proxy balancer directive to reverse proxy traffic using ajp protocol to tomcat backends <Proxy ...
0
votes
0answers
90 views

Is it possible to have a minimum session time for HAPRoxy sticky sessions

We have HAProxy 1.4 successfully performing sticky session routing based on a value in the request querystring with the following configuration command. balance url_param userId This works great ...
0
votes
0answers
106 views

Is it possible to persist a session after a server as been removed from a load balanced server pool on an F5

We have a server farm hosted in a co-location data center, because of uptime SLA's in our contract we have zero access to the F5 Load Balancer. I am curious if the following is possible to achieve. ...
0
votes
1answer
40 views

Loadbalancer passing client IP to the web server (HTTPS)

Can a loadbalacer (reverse proxy) configured with sticky sessions pass on the client IP to the Web servers if the session is SSL encrypted without doing SSL termination? Is it even possible to have ...
0
votes
1answer
359 views

Making a client sticky without initial session identifier with HAProxy

We have HAProxy infront of a pair of API servers. Currently using appsession because a lot of API clients won't be maintaining a cookie - that's a burden we don't want to pass on to our users. The ...
0
votes
3answers
2k views

does bigIP support sticky session

Does BIG IP support sticky sessions? I have 2 apache's behind a Big IP box at my partner end. Need to know whether Big IP supports sticky sessions. My apache has the sticky session enabled. All ...
-1
votes
1answer
99 views

org.apache.catalina.session.ManagerBase- Start expire sessions StandardManager and End expire sessions StandardManager

I am just a beginner with tomcat and got stuck with following error while deploying a third party application. I have certainly start getting in tomcat (tomcat version is 7 on windows 2008 r2) logs ...