bwmarrin / snowflake

A simple to use Go (golang) package to generate or parse Twitter snowflake IDs
BSD 2-Clause "Simplified" License
2.98k stars 371 forks source link

How much does system time affect the algorithm and library? #38

Closed longrbl closed 1 year ago

longrbl commented 2 years ago

How to ensure that Snowflake does not have the same ID generated after the system synchronizes time (time rollback), or when the ID is duplicated

yixy commented 2 years ago

you can check out this issue

18