|
|
|
|
|
by alxv
3276 days ago
|
|
You are missing a crucial piece here to have consistent hashing: you also need hash the names of the servers. With consistent hashing you hash both the names of the requests and of the servers, then you assign the request to the server with closest hash (under the modulus). With this scheme, you only need to remap 1/n of the keys (where n is the number of servers). |
|
[0] https://arxiv.org/abs/1406.2294