3 ms·
For those interested, there is also Snowflake by Twitter on GitHub https://github.com/twitter/snowflake https://github.com/twitter/snowflake
by alpb 15y ago
For those interested, there is also Snowflake by Twitter on GitHub https://github.com/twitter/snowflake https://github.com/twitter/snowflake
- thezilch 15y agoSnowflake 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.
- foobarbazetc 15y agoYeah. 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.