Consistent hashing is a special kind of hashing such that when a hash table is resized, only n/m keys need to be remapped on average where n is the number of keys and m is the number of slots.
This is used for data partitioning in Cassandra, Raik and more.
For more information check out - https://en.wikipedia.org/wiki/Consistent_hashing
- C#
To get a local copy up and running follow these simple example steps.
- Clone this repo.
- Make sure you have .NET installed.
- Execute the folowing command to run the console app -
dotnet run
- RapiDash1