Re:Flake: A Decentralized, K-Ordered Unique ID Generator in ...
by alpb on Friday January 13, 2012 @02:02PM
(#3461859)
For those interested, there is also Snowflake by Twitter on GitHub https://github.com/twitter/snowflake
[ Parent
| on HN ]
Re:Flake: A Decentralized, K-Ordered Unique ID Generator in ...
by thezilch on Friday January 13, 2012 @02:35PM
(#3462023)
Snowflake is referenced in the article "Credits" with a distinction between the products -- though, the product name is a bit dubious. It [Flake] differs primarily in that we allow ourselves a wider address space in which to fit ids which means we don’t have to think about timestamp truncation or coordination of worker ids.
Re:Flake: A Decentralized, K-Ordered Unique ID Generator in ...
by foobarbazetc on Friday January 13, 2012 @08:04PM
(#3463141)
Yeah. But the hard part is the 64bit representation. If you have 128 bits, you can no longer be a standard int. And you can just use UUIDs if you don't care about k-ordering.