https://blog.csdn.net/mchdba/article/details/52336203 分布式系统中推荐使用Twitter的分布式自增ID算法snowflake (Java版) https://www.cnblogs.com/relucent/p/4955340.html