NexQloud Knowledge Base

Discover tailored support solutions designed to help you succeed with NexQloud, no matter your question or challenge.

A headphone sitting on top of a desk next to a monitor.
Knowledge Base
How Load Balancing Works

How Load Balancing Works

A load balancer acts as a single point of contact for clients. When a user sends a request, it first arrives at the load balancer. The load balancer then uses a configured algorithm (e.g., round-robin, least connections) to forward the request to one of the healthy backend instances. This process ensures optimal resource utilization and prevents any single server from becoming a bottleneck.

Key Components:

  • Frontend: The external IP address and port that receive the incoming traffic.
  • Backend Services: A group of configured instances (e.g., a VM instance group, a Kubernetes service) that receive the traffic from the load balancer.
  • Health Checks: The load balancer continuously probes backend instances to ensure they are healthy and ready to receive traffic. Unhealthy instances are automatically taken out of rotation.