← 🌐 Networks

⚖️ Load Balancer

Uneven server speeds
Avg connections/server:
Avg latency:
Requests served: 0
In flight: 0
FPS:
Drag — rotate · Scroll — zoom

⚖️ Load Balancer Policy Simulator

Requests stream in from a client node, get routed across a bank of backend servers, wait in a visible queue, and get processed — showing exactly how round robin, least connections and power-of-two-choices spread the load differently.

🔬 What It Demonstrates

Round robin ignores current load and can pile requests onto a slow server; least connections always targets the shortest queue; power-of-two-choices gets nearly the same balance by sampling just two servers at random.

🎮 How to Use

Pick a routing policy, raise the request rate or server count, and toggle uneven server speeds to see queues build up unevenly. Watch the per-server connection counts and average latency respond live.

💡 Did You Know?

Real load balancers such as NGINX, HAProxy and cloud application load balancers all ship variants of these exact three policies, because full global knowledge of every server's load is expensive to keep up to date at scale.