Skip to content

Commit f6e29f7

Browse files
committed
Update README.md
1 parent 5d52237 commit f6e29f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/consistent-hashing/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ where `N` is the number of nodes and `R` is the number of replicas.
2828
Replication of keys
2929
- Hash ring: replicate by walking clockwise to the next R distinct nodes. Virtual nodes help spread replicas more evenly. Replicas are not independently distributed.
3030
- Rendezvous hashing: replicate by selecting the top R nodes by score for the key. This naturally yields R distinct owners and supports weights.
31-
- Jump consistent hash: the base function doesn't support replication. But the math can be easily modified to support consistent replication.
32-
- JumpBackHash and variants: The trick of Jump consistent hash to support replication won't work here due to the additional state introduced.
31+
- Jump consistent hash: the base function doesn't support replication. While the math can be modified to support consistent replication, it cannot be efficiently solved for large k and even for small k (=2 or =3), a quadratic or cubic equation has to be solved.
32+
- JumpBackHash and variants: The trick of Jump consistent hash to support replication won't work here due to the introduction of additional state.
3333
- ConsistentChooseK: Faster and more memory efficient than all other solutions.
3434

3535
Why replication matters

0 commit comments

Comments
 (0)