SawdustSoftware/simpleflake — pull request #7 by georgevreilly (2014-06-02 23:11:52+00:00)
Title: Consistent hash ID

When using Consistent Hashing for Sharding, it is convenient to designate certain bits in the ID as the hash ID. `consistentflake(flake)` generates a new simpleflake with the same hash ID as `flake`. It should be used to generate
associated IDs that all hash to the same shard.

http://en.wikipedia.org/wiki/Consistent_hashing