Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

分布式主键算法实现 #162

Closed
hanahmily opened this issue Oct 27, 2016 · 1 comment
Closed

分布式主键算法实现 #162

hanahmily opened this issue Oct 27, 2016 · 1 comment
Assignees

Comments

@hanahmily
Copy link
Contributor

hanahmily commented Oct 27, 2016

使用snowflake算法实现分布式顺序主键生成

@hanahmily
Copy link
Contributor Author

生成64bit的主键,可以插入的MySQL的bigint类型的字段内

uploads/38870cc6-4ec1-4b8e-8187-451e18fbd5c9/snowflake-64bit.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant