SkillAgentSearch skills...

Jake

A distributed unique ID generator inspired by snowflake and sonyflake

Install / Use

/learn @ChaceYang/Jake
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Jake ID

Build master branch Maven Central with version prefix filter LICENSE coverage

A distributed unique ID generator inspired by snowflake and sonyflake

The default ModelS composed of

41 bits for time in units of 1 millisecond, Max of 68 years.
13 bits for a machine id, Used private ipv4 ipv4 [*.*.0-31.0-255][0.0.11111.11111111]
9  bits for a sequence number, 512 sequence per millisecond

The ModelL composed of

38 bits for time in units of 10 millisecond, max of 86year.
16 bits for a machine id, default is private ipv4 [*.*.0-255.0-255][0.0.11111111.11111111]
9  bits for a sequence number, max of 512 sequence per 10 millisecond

Usage

Maven

<dependency>
  <groupId>io.github.funcfoo</groupId>
  <artifactId>jake-id-spring-boot-starter</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle

  implementation 'io.github.funcfoo:jake-id-spring-boot-starter:1.0.0'

License

The MIT License (MIT)

See LICENSE for details.

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated10d ago
Forks0

Languages

Java

Security Score

85/100

Audited on Mar 23, 2026

No findings