distributed id
Contents
the way of generating unique id
-
uuid 128bit
- random
- too long
-
snowflake 62bit
- increasing trend
-
mysql auto_increatement
-
strongly depond on db
-
the problem of snowflake
-
clock back 1.
-
can’t guaratted to always bigger than enver