Just small note: This is not a pair-to-pair competition to consistent hashing.
This algorithm requires consistent mapping between nodes and (consecutive) integers--that's not something you get for free in distributed systems where nodes may join or leave the pool at any time.