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.

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.

This method of load-balancing is best for web-applications where multiple servers can't safely serve the same user-session.

72 questions
0
votes
0 answers

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 and if application server A fails, then you can see…
0
votes
1 answer

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 sticky sessions based on IP and not cookies…
0
votes
1 answer

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 and always have the node.js server handle any SSL…
Justin Meltzer
  • 711
  • 1
  • 9
  • 19
0
votes
2 answers

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. Cheers Duncan
Duncan
  • 325
  • 2
  • 6
  • 11
0
votes
1 answer

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 problem we're facing is that once a client logs in,…
Josh Smeaton
  • 1,340
  • 2
  • 19
  • 31
0
votes
1 answer

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 possible to configure this on this cisco css model?…
0
votes
2 answers

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 load balancer that lists "stick sessions" as one…
jwbensley
  • 4,202
  • 11
  • 58
  • 90
0
votes
0 answers

Why HAProxy session cookie is changing?

I run two containers of an app behind an Haproxy and use sticky sessions. I configured it with a cookie as follow : cookie SERVER insert indirect nocache server app1 app-1:443 check ssl verify none cookie srv1 server app2 app-2:443 check ssl verify…
Wapax
  • 1
0
votes
0 answers

PHP session store in cephfs

We need to support a lot of php version from 5.3 to 8.1 in K8s. Every version served by two or more pods. The sessions are stored localy in the pod's volumes, due to this solution we are using sticky sessions. I fed up with this solution and started…
Daniel
  • 11
  • 1
0
votes
1 answer

How to clear 'sticky' HAProxy sessions?

So, originally my haproxy.cfg looks like this (snippet): frontend https_in mode http option httplog option forwardfor bind 192.168.150.2:443 ssl crt /etc/haproxy/ssl_cert/star_some_domain.pem crt…
pepoluan
  • 5,038
  • 4
  • 47
  • 72
0
votes
2 answers

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 tomcats. when one apaches fails, the other one…
Christian
  • 4,703
  • 2
  • 24
  • 27
0
votes
1 answer

Frontend still keep connected when backends RDP session is disconnected

I am using HAProxy to load-balance RDP connections between clients and RD Gateway server. There are two RD Gateway servers(192.168.0.10/192.168.0.5) behind HAProxy, the balance method is ROUND_ROBIN, and stick session by SOURCE_IP. Here is my…
Corey
  • 103
  • 4
1 2 3 4
5