A simple performant way to use socket.io with a cluster. https://github.com/indutny/sticky-session
Questions tagged [sticky-session]
119 questions
0
votes
0 answers
Is sticky sessions across multiple Data Centres with GTM possible?
I'm a software developer with limited knowledge of F5 GTMs.
We are building web applications that will run in Edge within a company network.
We have a set-up of two data centres & a GTM (F5) across the two. We use Kubernetes inside the DCs with…

Person of earth
- 71
- 1
- 8
0
votes
1 answer
Apache as Reverse-Proxy and Load-Balancer need to use sticky session
I have a two CentOS 8 nodes (192.168.1.101 and 192.168.1.102) in cluster (using pacemaker) where I configured VIP (192.168.1.100) and Apache as cluster's resources.
On all nodes are installed Apache 2.4 and Tomcat 9
The configuration for Apache…

Marco Ferrara
- 516
- 1
- 8
- 26
0
votes
1 answer
Sticky sessions are not working using Nginx on Kubernetes
I have a deployment which comprises 2 pods with a webapp in them. Nginx ingress controller is installed to expose those 2 pods using tls-passthrough.
I have tried to use annotations to setup sticky-sessions but to no avail. No cookie is present in…

moulip
- 111
- 1
- 13
0
votes
1 answer
.Net Session for load balanced Servers
I have LoadBalanced WebServers in .Net. When a user logs in into the website, we are not sure if his next request goes to the same webserver. So will storing asp.net session in SqlServer DB solve the issue of recognizing the user when request…

user13727833
- 13
- 5
0
votes
1 answer
Configuring Static IP address with Ingress Nginx Sticky Session on Azure Kubernetes
I am trying to configure an additional layer of Sticky Session to my current Kubernetes architecture. Instead of routing every request through the main LoadBalancer service, I want to route the requests through an upper layer of nginx sticky…

Seng Wee
- 534
- 9
- 20
0
votes
1 answer
Nginx loadbalancer exceptions
I have an Nginx with 2 servers behind (90% and 10% load balancing), where I send requests. The configuration is following:
upstream https://upstream-stage.infra.com/ {
ip_hash;
server oldserver-stage.infra.com weight=9 max_fails=3…

Vasyl Stepulo
- 1,493
- 1
- 23
- 43
0
votes
1 answer
Maintaining Sticky Session in Azure Web App for Linux Container
I have an Azure Web App for Linux Container with PHP Web Application deployed as a single Container. This Azure Web App is running with minimum of two of instance and is setup to auto scale. This Web Application uses sticky session. Does the Azure…

Manu
- 331
- 3
- 15
0
votes
0 answers
Sticky session behind proxy for two apps
He have two web apps: app A and app B. They are both installed in server 1 and server 2 (so one instance of A in server 1, one instance of A in server 2. same for app B). App A navigates to app B via SSO.
We use F5 load balancer to distribute the…

ThaisK
- 365
- 1
- 4
- 22
0
votes
0 answers
AWS ELB stickiness causes NGINX to have No-Cache behaviour
We've been using NGINX as cache layer and recently when load testing it we've stumbled upon an unusual problem: the load test would only get cache miss on all the content.
The traffic flows like this:
Client > NLB > NGINX > ELB (stickiness) >…

bayetovsky
- 115
- 10
0
votes
1 answer
Using ID in URL for load balancing with HAProxy
I know it is possible to make connections sticky based on url a parameter:
https://serverfault.com/questions/495049/using-url-parameters-for-load-balancing-with-haproxy?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
Is it…

Felipe Taiarol
- 165
- 12
0
votes
1 answer
How to use Haproxy sticky session ignoring client IP?
I am using haproxy as load balancer for 3 application servers and before client traffic reached this load balancer, it will first hit a WAF which the WAF has multiple random distributed IPs. So as the connection renew, the original session could…

webserver
- 1
- 1
- 2
0
votes
1 answer
Spring webflux csrf token stored in websession
As the csrf token in spring webflux is stored in the WebSession, does that require sticky sessions to be to be turned on in a load balanced configuration?

mahanhz
- 245
- 1
- 5
- 11
0
votes
1 answer
SignalR sticky sessions with F5 and Citrix
we have a web application (angular) that needs to interact with a winform application. we do that via SignalR.
the browser and winform are deployed on a citrix server.
There is a webfarm of IIS servers and on those we have the webapi services and…

May
- 240
- 2
- 10
0
votes
0 answers
Bad Gateway using Traefik in Docker Swarm
I am trying to deploy a web application in a docker swarm. I am using Traefik as it allows for session stickiness. As a front-end rule, I have included : "traefik.frontend.rule=PathPrefixStrip: /TestManager"
/TestManager is the name of my service.…

Kevin Amaren
- 1
- 1
0
votes
1 answer
Mod cluster configuring sticky session attribute name
Is it possible to configure the sticky session attribute name in mod-cluster?
I need to use a name different to JSESSIONID.
I´ve tried
ProxyPass / balancer://xxxxx/ stickysession=TESTSESSIONID|testsessionid
ProxyPassReverse / balancer://xxxxx/
but…

leaqui
- 533
- 6
- 22