title: WebSockets and Load Balancing, a bottleneck?
body: <p>When having a bunch of systems that act as WebSocket drones and a Load Balancer in front of those drones. When a WebSocket request comes into the LB it chooses a WebSocket drone, and the WebSocket is established. (I use AWS ELB tcp SSL-terminated at ELB)</p>
  
  <p><strong>Question:</strong> 
  Now does the created WebSocket go through the LB, or does the LB forward the WebSocket request to a WebSocket drone and thus there is a direct link between client and a WebSocket drone?</p>
  
  <p>If the WebSocket connection goes through the LB, this would make the LB a huge bottleneck.</p>
  
  <p>Removing the LB and handing clients a direct IP of a WebSocket drone could circumvent this bottleneck but requires creating this logic myself, which I'm planning to do (depending on this questions' answers). </p>
  
  <p>So are my thoughts on how this works correct?</p>