load balancing
Least Connections
Route each request to the server with the fewest active connections — adapts to variable processing times
Total Sent0
Active Total0
Min Active0
Requests auto-complete after 1.5–5s
lowest
Server A
total: 0lowest
Server B
total: 0lowest
Server C
total: 0lowest
Server D
total: 0// event log
No events yet.
// how it works
- Track active connections per server
- New request → find server with min(active)
- Adapts to varying request durations
- Slow requests don't starve fast servers
// trade-offs
- Best for variable-duration workloads
- Self-balancing under heterogeneous load
- Requires connection counting overhead
- Ties broken arbitrarily (first match)