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.
74
questions
0
votes
1
answer
3k
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 ...
9
votes
1
answer
10k
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 ...
0
votes
1
answer
1k
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 ...
2
votes
2
answers
4k
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
1
answer
1k
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 ...
0
votes
1
answer
302
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 ...
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 ...
0
votes
2
answers
6k
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 ...
5
votes
1
answer
3k
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 {$...
2
votes
1
answer
1k
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 ...
1
vote
2
answers
6k
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 ...
2
votes
3
answers
8k
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
vote
1
answer
763
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 ...
6
votes
0
answers
2k
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 ...
2
votes
2
answers
15k
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 ...
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 ...
2
votes
1
answer
1k
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
2
answers
1k
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
3
answers
2k
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
2
answers
1k
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
2
answers
2k
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 ...
2
votes
2
answers
1k
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 ...
0
votes
2
answers
733
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.
...
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 ...