Questions tagged [sticky-session]

A simple performant way to use socket.io with a cluster. https://github.com/indutny/sticky-session

119 questions
1
vote
0 answers

Does Jhipster support sticky sessions with docker stack or HAproxy?

Running a sample jhipster app (found at : https://github.com/ehcache/ehcache3-samples/tree/master/fullstack) , when I deployed it to a docker swarm (swarm mode) with docker stack, it worked fine and I could log-in But when I started "scaling" the…
Anthony Dahanne
  • 4,823
  • 2
  • 40
  • 39
1
vote
0 answers

NodeJS Sticky Session for Users sharing same IP Address

Our NodeJS (With Sockets and HTTP) project is being used by users (all are working from same office, same network) sharing a same public IP Address. I have put a sticky session implementation which generates an hash based on Public IP Address of the…
Royal Pinto
  • 2,869
  • 8
  • 27
  • 39
1
vote
1 answer

What does WebLogic's configuration element do actually?

We are porting some legacy applications from WebLogic to Tomcat. In Web Logic these applications have the following in their weblogic.xml deployment descriptor:
Steve Cohen
  • 4,679
  • 9
  • 51
  • 89
1
vote
1 answer

CodeDeploy for PHP Application with Sticky Sessions

I have a PHP application running on an AWS auto-scale group that uses sticky sessions behind an AWS ELB. When running CodeDeploy against these machines to release, CodeDeploy will initially delete the files before replacing them with the new ones.…
1
vote
0 answers

How can AWS ELB do session stickiness for mobile clients?

How can AWS ELB do session stickiness for mobile clients? For web clients AWS ELB uses cookies for session stickiness/websockets. But mobile clients typically do not support cookies, then how can this be done?
seahorse
  • 2,420
  • 4
  • 31
  • 40
1
vote
1 answer

AWS: Send certificate info from ELB to EC2

When Sticky Sessions are enabled on an AWS ELB it seems that the ELB will terminate SSL (AWS forum discussing this). I need information from the user's certificate to verify some things, so I need the ELB to forward this information to the EC2…
Zack
  • 69
  • 1
  • 3
  • 11
1
vote
1 answer

Load balancing dynamic php site using nginx

I have three servers. One for load balancing other two for serving web application. My load balancing works fine if i use my web page as static site. but when i log into my web page it does not respond correctly because every time it changes its…
1
vote
1 answer

Will Varnish with client director send traffic to an unhealthy backend?

Our setup is a varnish in-front serving 2 backends with configured health polling. We use client director for load balancing, so the backend is picked based on client.identity When one of the two backends fails, varnish successfully sets this…
papasj
  • 151
  • 1
  • 2
  • 5
0
votes
1 answer

Enabling Sticky sessions with Kubernetes Load Balancer

I'm trying to learn working with kubernetes. I have project which use websockets and im trying to apply sticki session for that purpose while working wiht multiple pods. deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name:…
kenik
  • 142
  • 3
  • 13
0
votes
0 answers

Creating a new different container for every client connecting to a server - Devops engineering

How to configure a server using nginx (or something else) that only one client can have session with the server at the same time? Each client has his own server contianer and the session is sticky and multiple clients doesnt share same server…
0
votes
0 answers

How to do correct way to use multer in nodejs cluster server

Sample code 1: multer is working fine in a basic server when uploading files. const express = require('express'); const multer = require('multer'); const app = express(); const upload = multer({ dest: 'temp/' }); app.post('/upload',…
0
votes
1 answer

Sticky session enabling in nest js

const httpServer = http.createServer(); // setup sticky sessions setupMaster(httpServer, { loadBalancingMethod: "least-connection", }); How to enable sticky sessions ,similar to node in nest js . Nest js is framework is it possible to enable sticky…
Rick
  • 11
  • 2
0
votes
1 answer

Is JWT an alternate for sticky session when we implement oAuth

I would like to know if oauth implementation with JWT is an alternate for sticky session? If while using JWT, the complete payload/signature info is sent between client and load balanced servers, then why do we still need sticky sessions? One of the…
Ram
  • 327
  • 1
  • 4
  • 18
0
votes
0 answers

AWS elastic load balancer stickiness didn't update with CloudFormation

I had an AWS CloudFormation template for ECS with an elastic load balancer with sticky sessions turned on: WebTargetGroup: Type: AWS::ElasticLoadBalancingV2::TargetGroup Properties: … Port: 80 Protocol: HTTP …
0
votes
1 answer

Istio DestinationRule consistentHash for sticky session not working

We have a service that runs on 3 to 5 pods that connect to a database. Every time the user enters the domain, and once logged in, shortly, we are forced to reload and go back to the login screen. It does not happen with 1 pod. Without multiple pods,…
chocokoala
  • 191
  • 4
  • 15