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
Needs to be serializable bean in sticky session that contains Remot EJB?
I was trying to find information about java bean needs to be serializable in a sticky session? Seems to be that if contains a @remot EJB must be, but ¿Is this true?

ZaoTaoBao
- 2,567
- 2
- 20
- 28
0
votes
2 answers
Cannot access AWS EC2 server from localhost (curl times out)
I'm trying to proxy a node.js server with an ngnix. My issue is that I can't access (curl nor nginx) my node.js server on localhost,
When opening its 3000 port to the exterior, I can see my node js server running. But curl and nginx cannot access…

Zied Hamdi
- 2,400
- 1
- 25
- 40
0
votes
2 answers
Sticky session duration
is it possible to specify the sticky session duration in mod_cluster?
I mean that the stuck session is cleared when there isn't activity for a period of time.
We have a distributable application that keeps a reference to logged user in the web…

leaqui
- 533
- 6
- 22
0
votes
0 answers
How to use sticky sessions in AWS?
We have a website WordPress website running on AWS and it has ELB implemented on it. I have to save UTM data of each visitor whenever it reaches to our website and has to keep it for the whole session of a particular user.
I used $_SESSION for the…

BlueSuiter
- 527
- 6
- 21
0
votes
1 answer
Do replicated sessions require sticky-sessions to be enabled?
When using replicated sessions, is there any requirement to also use sticky sessions? Is there any advantage to using them together, or any disadvantage to using replicated-non-sticky sessions?

AmjadD
- 73
- 1
- 9
0
votes
1 answer
Is SignalR backplane necessary when using sticky sessions?
We have a multi-server, load-balanced environment for our application which uses sticky sessions. We're considering adding a SignalR implementation to send updates to individual clients. I've played around with SignalR a little bit so I'm aware of…

mellis481
- 4,332
- 12
- 71
- 118
0
votes
1 answer
Tomcat PersistanceManager
I have 2 Tomcats working in the loadbalancing with sticky_sessions=false.
So I need "Session persistance" across the Tomcats.
Tomcat documentation says there are 3 ways:
Tomcat Clustering
Persistance Manager + Shared Dir
Persistance Manager + SQL…

Dmitrii Stebliuk
- 167
- 8
0
votes
1 answer
Get rid of redis as backplane when using loadbalancer
Given
we have a site on 2 server on iis . Bevore this we have a loadbalancer. we deliver search results with an existing signalR hubg using redis for windows as backplane.
Problem
Now we have some bad issues with redis for windows .
I've found some…

Boas Enkler
- 12,264
- 16
- 69
- 143
0
votes
0 answers
Is load balancing with sticky sessions limited to a single load balancing server?
If you make a setup with multiple load balancers, can it still support sticky sessions (e.g. cookie based)?
Since sticky sessions rely on state stored at the load balancer, the different load balancers would have to exchange that information. So…

Tom Deseyn
- 1,735
- 3
- 17
- 29
0
votes
1 answer
nginx specify server for a particular request
Let's say I have ip_hash; turned on for load balancing between 4 different servers. So, client's IP address is used as a hashing key to determine which server his requests get routed to.
However, for file upload, it's best to keep all files in a…

Saitama
- 477
- 6
- 18
0
votes
1 answer
How to avoid sticky sessions while implementing file download?
Here is a task - it's necessary to generate a file based on some data from the UI side (JavaScript). The schema is pretty simple:
The UI makes an async POST HTTP request to the server and provides some JSON data:
$.ajax({
url:…

Stephen L.
- 509
- 2
- 14
0
votes
1 answer
iisnode get remoteAddress
Trying to get iisnode and socket.io to work (has been working fine on linux). I'm using Sticky session to be able to use multiple processors.
Now when running thru iisnode I'm having issues getting the remote ip from the client.
Looks like…

roady
- 597
- 2
- 6
- 20
-1
votes
1 answer
Sticky session loadbalancing in spring Microservices
I am new to Spring and trying to do a proof-of-concept on the sticky session loadbalancing (I am using Eureka for service discovery, Spring Cloud Gateway and Spring Cloud Loadbalancer, its working in round-robin fashion now). I am unable to achieve…

TheCoder
- 41
- 5
-1
votes
1 answer
stick content at the bottom of the page
My problem:
I designed single page. Header, content(section and aside) and footer.
Footer and header are sticky.
I want content to stick to the end of page and above footer.
Guide me, please.

M Ghorbanimoghadam
- 21
- 5