Implementing Azure Load Balancer
Azure Load Balancer allows you to distribute traffic across VMs, allowing you to scale apps by distributing loads and offering high availability so that in the event a node becomes unhealthy, traffic is not sent to us.
Load balancers distribute traffic and manage the session persistence between nodes in one of two ways:
- The default is Five-tuple Hash. The tuple is composed of the source IP, source port, destination IP, destination port, and protocol type. Because the source port is included in the hash and the source port changes for each session, clients may use different VMs between sessions. This means that applications that need to maintain state for a client between requests will not work.
- The alternative is Source IP Affinity. This is also known as session affinity or client IP affinity. This mode uses a two-tuple hash (from the source IP address and destination IP address) or three-tuple hash (from the source IP address, destination...