Questions tagged [session-affinity]

Use session-affinity for questions related to establishing and persisting the relationship between a client request and a specific server for the duration of a session

References

40 questions
1
vote
1 answer

Static websites hosted on storage accounts accessed through Azure Front Door not loaded properly

We're trying to configure Azure Front Door to route traffic between our two identical static websites that are hosted on two different storage accounts. A backend pool has been set up within the Front Door containing the 2 backend host names (links…
IPJT
  • 13
  • 3
1
vote
1 answer

Session affinity cookie not working anymore (Kubernetes with Nginx ingress)

An upgrade of our Azure AKS - Kubernetes environment to Kubernetes version 1.19.3 forced me to also upgrade my Nginx helm.sh/chart to nginx-ingress-0.7.1. As a result I was forced to change the API version definition to networking.k8s.io/v1 since my…
Drain
  • 31
  • 4
1
vote
1 answer

How to set sticky session for multiple services in kubernetes?

I have 2 services: Restful/websocket API service with Nginx (2 replicas) Daemon service (1 replica) The daemon service will emit a websocket event to the frontend at some point. However, the event doesn't seem to be emitted successfully to the…
bbnn
  • 3,505
  • 10
  • 50
  • 68
1
vote
0 answers

How to load balance with Kubernetes Services - not the ClientIP strategy

My services / pods are running behind a service, but I do not have an Ingress controller. The Request is coming from GTM -> LTM -> K8s service -> Pod. Here LTM is overriding the clientIP. Due to this, SessionAffinity with ClientIP strategy is not…
1
vote
1 answer

Is it enough to just enable session affinity to ensure connection goes to the right process when utilising clusters and multiple dynos?

I've enabled session affinity on Heroku via the CLI - is this enough to make sure traffic from a user hits the same process (Clustering using throng) on the correct dyno (multiple dynos)? To be clear, I have no code to handle this. I just use…
Prodigga
  • 1,457
  • 1
  • 22
  • 37
1
vote
0 answers

heroku session-affinity for apps with no cookie support

Heroku session affinity mentions that sticky session is achieved by passing down a cookie. But we use heroku for TV apps where there is no cookie support. Sticky session is very important to us. Does anyone know if sticky session on heroku can be…
1
vote
1 answer

Suppress affinity cookie to force client to another Azure app node

I have a C# web application that uses a component (Progress Telerik Sitefinity CMS) that takes a long time (2 minutes) to initialize. A user who visits the site while in this stage, will be redirected to a page that polls the state every second,…
realbart
  • 3,497
  • 1
  • 25
  • 37
0
votes
0 answers

When using Network Load Balancer (GCP), what function is Client source IP among Session affinity functions?

When using Network Load Balancer (TCP/SSL) with GCP If you look at Session affinity, there is a Client Source IP. At first, I thought the function was to remove the XFF header and see the original USER…
0
votes
0 answers

Is there a way to modify the domain of the heroku session affinity cookie?

On the frontend I am having a domain for example: xyz.com and my backend is having the domain api.xyz.com? When I enabled the session affinity on heroku, it is sending the set-cookie header with the domain api.xyz.com, but since my frontend is on…
0
votes
1 answer

How to setup session affinity for Rest API in Azure App Service

I have a frontend app service (scaled up to 3 nodes) and a api app service (scaled up to 3 nodes) on Azure. When user enter the website, the request goes to frontend app service first and then retrieve other information from api app service by rest…
0
votes
0 answers

Azure Front Door with Private Link and Azure Load Balancer session affinity

We have setup Azure Front Door (AFD), with an Azure Load Balancer (ALB) behind it, as what was recommended when taking the decision tree approach found here --> Decision tree for load balancing in Azure Here is an image as well for quick…
0
votes
1 answer

How to configure Tomcat session persistence in SAP Business Objects 4.3 on AWS EC2?

I have a two-node cluster running SAP Business Objects 4.3 on AWS EC2. I have an Aurora database backend to hold the metadata, that appears to be properly connected. Following the documentation on Tomcat 9, I have tried to implement what they have…
BPS
  • 607
  • 8
  • 29
0
votes
0 answers

Istio extension to provide session affinity among replicas without using consistent hash

I have microservices that need to be stateful. I also want the microservices to be scalable such that replicas can be added or removed as needed, primarily for auto-scaling. What I'm looking for is either an Istio extension that would support…
Toddinpal
  • 345
  • 1
  • 7
0
votes
1 answer

Gcloud load balancing to the same host for two TCP connections

I'm using GCP like in the following schema: TCP balancer -> backend-service -> MIG(my app) with auto scaling. "My app" accepts commands on a TCP port (A) and sends notifications on another TCP port(B) for subscriber. I'm running my tests against…
toootooo
  • 196
  • 7
0
votes
0 answers

Sticky sessions for socketIO nodejs app deployed on Google Cloud App Engine

I need someone to explain how I can get socketIO client to connect successfully with nodeJs app deployed to Google Cloud App Engine. I setup nodejs clusters and so had to use socketIO's redis adapter to manage session affinity. This has worked fine…