分布式系统中 Unique ID 的生成方法
摘要:
http://darktea.github.io/notes/2013/12/08/Unique ID Snowflake 生成的 unique ID 的组成 (由高位到低位): 41 bits: Timestamp (毫秒级) 10 bits: 节点 ID (datacenter ID 5 bit 阅读全文
posted @ 2018-01-08 13:53 明天有风吹 阅读(468) 评论(0) 推荐(0) 编辑