Skip to content

v1.14.0

Compare
Choose a tag to compare
@Ahoo-Wang Ahoo-Wang released this 11 Aug 07:41
· 477 commits to main since this release

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 of UUID.randomUUID().
    • Reverse parsing ID State (timestamp,machineId,sequence)
    • Easy to expand.
    • Small footprint: 15 Chars.

CosIdGenerator

  • 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