打赏

时间戳Id

ID:格式据1970.1.1毫秒数 1535091029740  13位

问题:高并发,分布式明显会有问题,网上有雪花算法,但是位数跟我需要的不一样,暂时不考虑,以后研究再用。

参考:

https://blog.csdn.net/w200221626/article/details/52064976

https://blog.csdn.net/qq_21736559/article/details/72770666

https://www.cnblogs.com/shiningrise/p/5727895.html

posted @ 2018-08-28 10:30  刘奇云  阅读(497)  评论(0编辑  收藏  举报