v1.14.0
What's Changed
- New distributed ID algorithm:
CosIdGenerator
by @Ahoo-Wang in #136- Global trend increasing.
- Local monotonically increasing.
- High performance: 15,570,085 ops/s (
generateAsString
), three times that ofUUID.randomUUID()
. - Reverse parsing ID State (
timestamp
,machineId
,sequence
) - Easy to expand.
- Small footprint: 15 Chars.
- Refactor : Add
sequenceResetThreshold
to optimize the problem of uneven sharding of snowflake algorithm in the case of low system throughput.
Full Changelog: v1.13.1...v1.14.0