Java implementation of twitter snowflake. 64 bit sequential ID generator based on twitter snowflake ID generation algorithm. id is composed of: time - 41 bits (millisecond precision w/ a custom epoch gives us 69 years); configured machine id - 10 bits - gives us up to 1024 machines; sequence number - 12 bits - rolls over every 4096 per machine (with protection to avoid rollover in the same ms).
forked from Predictor/javasnowflake
-
Couldn't load subscription status.
- Fork 0
64 bit sequential ID generator based on twitter snowflake ID generation algorythm
License
Couldn't load subscription status.
DevBono/javasnowflake
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
64 bit sequential ID generator based on twitter snowflake ID generation algorythm
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Java 100.0%