Concepts
Algorithms
Load balancing algorithms explained
⌘I
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Load balancing algorithms explained
ultrabalancer -a round-robin -b s1:8080 -b s2:8080
ultrabalancer -a least-connections -b s1:8080 -b s2:8080
ultrabalancer -a ip-hash -b s1:8080 -b s2:8080
ultrabalancer -a random -b s1:8080 -b s2:8080
ultrabalancer -a weighted -b s1:8080:200 -b s2:8080:100
ultrabalancer -a power-of-two -b s1:8080 -b s2:8080 -b s3:8080
ultrabalancer -a fastest-response -b s1:8080 -b s2:8080
| 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 |