Guide and reference
Load Balancing and High Availability
Load balancing distributes work among service instances. High availability maintains service through selected failures using redundancy, detection and recovery. Adding a second server does not remove shared database, DNS, storage or control-plane failure points. Availability goals need measurable recovery and data-loss assumptions.
Load Balancing and High Availability
Load balancing distributes work among service instances. High availability maintains service through selected failures using redundancy, detection and recovery. Adding a second server does not remove shared database, DNS, storage or control-plane failure points. Availability goals need measurable recovery and data-loss assumptions.
ReferenceLayer 4 load balancing
Layer 4 balancing selects backends using transport-connection information rather than required HTTP interpretation.
ReferenceLayer 7 load balancing
Layer 7 balancing uses application information such as hostname or request path.
ReferenceRound-robin
Round-robin rotates selections among backends without guaranteeing equal resource consumption.
ReferenceLeast connections
Least-connections balancing prefers backends with fewer observed active connections.
ReferenceWeighted balancing
Weighted balancing assigns relative selection shares according to configured weights.
ReferenceHealth checks
Health checks determine backend eligibility using conditions that should represent actual service usability.
ReferenceActive-active infrastructure
Active-active infrastructure serves work from multiple instances concurrently with state-coordination requirements.
ReferenceActive-passive infrastructure
Active-passive infrastructure keeps a standby that takes over after defined failure detection and promotion.
ReferenceFailover
Failover moves service to an alternate path or instance under defined failure conditions.
ReferenceGeographic load balancing
Geographic balancing selects sites using location, health and policy rather than distance alone.
ReferenceGlobal Server Load Balancing
Global server load balancing steers clients across sites using DNS or other routing mechanisms.
ReferenceDNS-based balancing
DNS-based balancing distributes endpoint answers subject to caching and client selection behavior.
ReferenceAnycast load balancing
Anycast balancing uses routing-selected ingress without guaranteeing equal load among sites.
ReferenceSession persistence
Session persistence keeps selected clients on one backend and affects state and failover design.
ReferenceDisaster recovery
Disaster recovery restores service and data according to tested recovery-time and data-loss objectives.
ReferenceRedundancy
Redundancy supplies alternate components or paths with meaningful failure-dependency separation.