Re:You might as well timestamp it
by twodave on Saturday April 24, 2021 @01:23PM
(#26926605)
IMO if you’re going this route, may as well just implement a snowflake clone and get the best of all worlds.
[ Parent
| on HN ]
Re:You might as well timestamp it
by traceroute66 on Saturday April 24, 2021 @03:33PM
(#26927644)
Re: Snowflake clone
I would humbly invite you to read the note in the KSUID Github, namely:
*To fit into a 64-bit number space, Snowflake IDs and its derivatives require coordination to avoid collisions, which significantly increases the deployment complexity and operational burden.*
Therefore KSUID remains the best option.I don't necessarily agree with your conclusion, but I will admit you can't put KSUID and Snowflake in a room and declare either of them the winner.
I would argue that doubling your key-space in the case of KSUIDs may have just as much of an impact as coordinating node ids in the case of snowflake (and in fact the snowflake technique only runs into coordination problems when you're at pretty extreme scale).