How to use the server with replicas and load balancer? #503
robertofalk
started this conversation in
General
Replies: 1 comment
-
let's move this to a discussion for now until we get some more opinions expressed on what should change in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Because of the in memory session id, when there are more than one replica (and having a load balancer in front of the server), requests from the same client might be handled by different replicas, which doesn't work, since not all clients are aware of sessions all the time.
I saw that K8s might manage sessions using session affinity but I was wondering if on the library level, someone is using something like redis to sync the session between replicas?
Version Information
Beta Was this translation helpful? Give feedback.
All reactions