A deep dive on load balancing algorithms
lafikl.notion.site
A deep dive on load balancing algorithms
1–9 of 9 posts
Re: A deep dive on load balancing algorithms
#2Re: A deep dive on load balancing algorithms
#3Two random choice says "Max load of any server is O(log log number_of_servers)."
If work accomplished is proportional to load, then the total work done by the entire system is O(number_of_servers * log log number_of_servers). It seems very suspicious, magical even, that the total work is more than linear with the number of servers. Free energy discovered?
Re: A deep dive on load balancing algorithms
#4I'm not familiar with any of these, but this point stuck out to me. Two random choice says "Max load of any server is O(log log number_of_servers)." If work accomplished is proportional to load, then the total work done by the entire system is O(number_of_servers * log log number_of_servers). It seems very suspicious, magical even, that the total work is more than linear with the number of servers. Free energy discov…
Re: A deep dive on load balancing algorithms
#5I'm not familiar with any of these, but this point stuck out to me. Two random choice says "Max load of any server is O(log log number_of_servers)." If work accomplished is proportional to load, then the total work done by the entire system is O(number_of_servers * log log number_of_servers). It seems very suspicious, magical even, that the total work is more than linear with the number of servers. Free energy discov…
No free energy for at least a couple reasons:
* This is O(...) meaning (roughly) "bounded above by", not Theta(...) meaning "bounded above and below by".
* This is max load, not average load. Even if it were theta, it wouldn't follow from the max load on a server being Theta(log log number_of_servers) that the total load is Theta(number_of_servers * log log number_of_servers).
Re: A deep dive on load balancing algorithms
#6I'm disappointed that this doesn't include HRW (Highest Random Weight or Rendezvous Caching). It has the advantages of consistent hashing without the disadvantage, and doesn't require a central coordinator like consistent hashing does.
Re: A deep dive on load balancing algorithms
#7I'm not familiar with any of these, but this point stuck out to me. Two random choice says "Max load of any server is O(log log number_of_servers)." If work accomplished is proportional to load, then the total work done by the entire system is O(number_of_servers * log log number_of_servers). It seems very suspicious, magical even, that the total work is more than linear with the number of servers. Free energy discov…
Re: A deep dive on load balancing algorithms
#8I'm disappointed that this doesn't include HRW (Highest Random Weight or Rendezvous Caching). It has the advantages of consistent hashing without the disadvantage, and doesn't require a central coordinator like consistent hashing does.
does it handle overloaded service similar to "Bounded Consistent Hashing"?
The main difference is that only the calls for that host would move, and they would be distributed across multiple other hosts, instead of shifting the keyspace around, depending on what you are using for your HRW calculation to pick the server list.
Re: A deep dive on load balancing algorithms
#9I'm not familiar with any of these, but this point stuck out to me. Two random choice says "Max load of any server is O(log log number_of_servers)." If work accomplished is proportional to load, then the total work done by the entire system is O(number_of_servers * log log number_of_servers). It seems very suspicious, magical even, that the total work is more than linear with the number of servers. Free energy discov…
For instance, imagine load balancing via random assignment. The theoretical max load of a server is receiving every request, but if one server receives more requests, then the other servers receive less.