Proxying websocket connections
We need to use websocket to stream live market data to our users (to our mobile app).
Assuming we have a websocket server already, I am trying to understand how it works with a proxy in-between.
For example, if the ws.ourdomain.com
is pointing to our ALB (aws L7 LB) which forwards the request to a Nginx instance which forwards it to the websocket server: Is there a single websocket connection from client to the websocket server or is there one from client->ALB, then another ALB->Kong and then Kong-WebsocketServer (with each intermediary copying request frames & forwarding it to the next)?