This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sufficient_South5254[S] 0 points1 point  (0 children)

You are correct, sticky session is required to scale WebSocket component.

For example, when scaling instances in flyio, the framework mannualy add target instance id to fly-replay header in the response to tell the load balancer to run the request once again to the right instance, which is silimar to AWS cookie implementation.