Reputation: 2166
If a client calls a load balancer of an application, are 2 connections made:
Or are requests redirected to a single node?
Upvotes: 0
Views: 120
Reputation: 179314
ELB Classic and Application Load Balancer do not autonomously generate redirects. There are two connections used for HTTP mode, one toward the browser and one toward the instance, but there is not a 1:1 correlation -- back-side connections are sometimes reused across multiple clients, and subsequent requests from a single client with a single keep-alive connection may arrive at the back-end via a different connection. (ELB Classic also supports a Layer 4 mode, in which case the connections are 1:1 correlated).
If a redirect is observed in an ELB/ALB environment, it was generated by a back-end server.
Upvotes: 1