benedictkao / UTD

Unstandard Library for basic data structures
2 stars 0 forks source link

Can we optimise unordered set rehashing process ? #39

Open chris-nee opened 1 year ago

chris-nee commented 1 year ago

Some notes that may be relevant - https://en.wikipedia.org/wiki/Consistent_hashing

benedictkao commented 1 year ago

I read up a bit and watched some videos, and looks like this is primarily used for load balancing in a multi-server BE. Not sure if the performance tradeoffs are worth it. This will require more investigation

benedictkao commented 1 year ago

Advantages:

Disadvantages:

Ref: https://www.quora.com/What-are-the-advantages-and-disadvantages-of-consistent-hashing