Overview
UltraBalancer supports 7 algorithms. Choose based on your needs.Algorithms
round-robin (default)
Even distribution across all backends.least-connections
Routes to backend with fewest active connections.ip-hash
Same client IP always goes to same backend.random
Random backend selection.weighted
Higher weight = more requests.power-of-two
Picks 2 random backends, uses the one with fewer connections.fastest-response
Routes to backend with fastest recent response.Quick Comparison
| Algorithm | Use Case |
|---|---|
| round-robin | Default choice |
| least-connections | Long requests |
| ip-hash | Sessions/sticky |
| weighted | Unequal backends |
| power-of-two | Performance |
| fastest-response | Latency-sensitive |