Load Balancing

Distributing requests or work across resources so no single component becomes the bottleneck.

Why is one server still busy?

Two workers each receive ten requests. Every request on worker A takes one second. On worker B, one request takes ten seconds and nine take one second each.

CaseInputsResult
Worker A10 requests10 seconds of work
Worker B10 requests19 seconds of work

What should be balanced?

Equal request counts can hide unequal work. Queue length, active connections and observed latency reveal different aspects of load. Check affinity requirements before moving a request.

Why It Matters

Without load balancing, one machine or one path can become a bottleneck even when the rest of the system still has spare capacity. That leads to queueing, dropped requests, poor tail latency, and avoidable failures. Good load balancing smooths that pressure by routing work toward healthier or less congested resources.

What AI Adds

Traditional load balancers often rely on round-robin routing or simple health checks. AI-enabled systems can use richer signals such as congestion, queue depth, worker state, latency trends, or predicted demand. That makes it possible to steer traffic before a bottleneck becomes visible to users.

In practice, AI-driven load balancing often works alongside autoscaling and telemetry. One part of the system decides how much capacity should exist. Another part decides how requests should be distributed across that capacity in real time.

What Good Load Balancing Needs

A strong load balancer needs current signals, clear failover rules, and enough context to distinguish a temporarily busy server from a structurally bad placement. That is why modern systems often combine balancing logic with decision-support systems, policy controls, and ongoing model evaluation.

Follow the idea

Examples in the AI guides

Related Yenra articles (2)
Related concepts (5)
Return to Load Balancing in the A–Z glossary