0% completed
Why choose Random over Round Robin or vice versa?
reagankm
Jan 5, 2024
They have the same pros and cons in the list provided here. I had to look up on the internet to try and find a reason to prefer one over the other and it said the random algorithm can be better for security since bad actors don't have a predictable sequence they can use for targeting specific servers.
It might be good to add some mention like this to the list of pros for Random. Or, if my info is false, then add some other descriptor to explain why these algorithms suit different needs.
6
0
Comments
Design Gurus2 years ago
This is a good suggestion.
We have added this to Round Robin and Random load balancing algorithms.
Shishir 2 years ago
Security systems that rely on detecting anomalies or implementing rate limiting (e.g., to mitigate DDoS attacks) might find it slightly more challenging to identify malicious patterns if a Random algorithm is used, due to the inherent unpredictability in request distr...
On this page
- Round Robin
Use Cases
- Least Connections
Use Cases
Comparison to Round Robin
- Weighted Round Robin
Pros
Cons
Use Cases
- Weighted Least Connections
Pros
Cons
Use Cases
- IP Hash
Example
Pros
Cons
Use Cases
- Least Response Time
How Least Response Time Load Balancing Works
Pros
Cons
Use Cases
- Random
Pros
Cons
Use Cases
- Least Bandwidth
Pros
Cons
Use Cases
- Custom Load
How Custom Load Load Balancing Works
Pros
Cons
Use Cases