Twitter的分布式自增ID算法snowflake snowflake 分布式场景下获取自增id git:https://github.com/twitter/snowflake 解读: http://www.cnblogs.com/relucent/p/4955340.html