You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use case: Have multiple replicas of a websocket server listening for bidirectional streams, connected to from the jambonz listen verb.
A load balancer is used in front of these replicas, and in order for the load balancer to always forward a websocket session to a specific replica (header based session affinity), the websocket headers need to have an id (in this case, call_sid would probably be a good identifier) which the load balancer can map to a replica.
The text was updated successfully, but these errors were encountered:
If the client is connected to replica A and then it connects to replica B, replica B doesn't have the state for the session so the websocket will be closed and then reopened.
Use case: Have multiple replicas of a websocket server listening for bidirectional streams, connected to from the jambonz listen verb.
A load balancer is used in front of these replicas, and in order for the load balancer to always forward a websocket session to a specific replica (header based session affinity), the websocket headers need to have an id (in this case, call_sid would probably be a good identifier) which the load balancer can map to a replica.
The text was updated successfully, but these errors were encountered: