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
I have configured NGINX as a reverse proxy with web sockets enabled for a backend web application with multiple replicas. The request from NGINX does a proxy_pass to a Kubernetes service which in turn load balances the request to the endpoints…
In my headless service, I configure sessionAffinity so that connections from a particular client are passed to the same Pod each time as described here
Here is the manifest :
apiVersion: v1
kind: Service
metadata:
name: service1
spec:
clusterIP:…
I was reading this article about troubleshooting Azure Application Gateway Session Affinity Issues, and listed as a possible cause it states "My application cannot handle cookie-based affinity", how do I know if my ASP.Net web application can handle…
How can you force HAProxy server affinity with curl?
With curl version 7.58 I've tried:
curl -I \
--proxy-header "Cookie: SRV_ID=172.0.0.2" \
-x localhost:3001 \
https://postman-echo.com/headers
I'm still getting round-robin,…
I want to implement the sticky session for a stateful app in Kubernetes. I was able to do that using sessionAffinity: ClientIP but actually I am looking something in kubernetes which enables the session affinity on the client session using cookies.…
We have 2 Azure VMs running IIS and hosting 50+ .Net web applications (Webforms, MVC, WCF & ASMX). Both of the 2 VMs are identical and all sites are configured using a hostname ([subdomain].domain.com) on port 443 and requiring SSL.
11 of these…
I'm working in a project to move our SIP infra. to GCP.
I'm using an UDP Internal load balancer with a private IP to route calls from Asterisk to my Kamailio SBC, Asterisk is configured with the address IP of the load balancer as a single outgoing…
We have a requirement to loadbalance 2 standalone WAS7 base version JVMs in two separate hosts. Both the JVMs will be served by a single IHS web server. We are not creating any cluster. In addition to configuring a unique HTTP session clone ID for…
As I am using load balancer in my app, it becomes important to know whether devise uses cookie based authentication or only session based authentication?
It would be great to use cookie based authentication, then I do not have to reserve the same…