Highest Random Weight in Elixir
jola.dev
Highest Random Weight in Elixir
1–6 of 6 posts
Re: Highest Random Weight in Elixir
#2Part of the point of rendezvous hash and consistent hashing is that adding and removing elements minimizes the amount of things reassigned. That is, if you add nodes, the only items being reassigned are those that are moving to the new nodes. If you remove nodes, the only items being reassigned are those leaving the departing nodes.
If you know your set of nodes never changes, or you don't care about the cost of reassignment, you don't need a rendezvous hash or consistent hash, you just need a plain old hash function.
Re: Highest Random Weight in Elixir
#3Re: Highest Random Weight in Elixir
#4Unless you are operating at FAANG scale or are in HFT I really struggle to see how O(n) would ever be a problem for you here.
Re: Highest Random Weight in Elixir
#5Unless you are operating at FAANG scale or are in HFT I really struggle to see how O(n) would ever be a problem for you here.
There's plenty of scale below FAANG where efficiency matters.