SnowflakeId is an algorithm was invented by Twitter to generate a unique Ids for a million of posts that are creating daily by users.
I implemented this algorithm using C# programming language and here is the repo link if you want to go deeper and see how I design it.
https://github.com/Shoogn/SnowflakeId
If you wkuld like to know more about this algorithm you can find how this algorithm works from the following link:
https://en.m.wikipedia.org/wiki/Snowflake_ID
Top comments (0)