baidu/uid-generator
UniqueID generator observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3446
- days_rel: n/a
- days_push: 1190
- n_releases_24m: 0
Adoption not part of the score
5562 stars · 1547 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
UidGenerator is a Java library that generates unique 64-bit IDs based on the Snowflake algorithm, working as an embeddable component with configurable worker ID bits and initialization strategies. It improves on vanilla Snowflake with RingBuffer caching, cache-line padding, and future-time consumption to reach over 6 million QPS per instance.
Use cases
- generate unique IDs for distributed database primary keys
- assign unique order IDs in a high-throughput e-commerce system
- generate unique identifiers in Docker or virtualized environments
- replace Twitter Snowflake with a higher-throughput Java ID generator
- generate non-sequential unique IDs for microservices
When to choose
- you need high-throughput unique ID generation in a Java application
- you run in virtualized/containerized environments where worker ID assignment is tricky
- you want configurable Snowflake bit allocation and worker ID strategies
When to avoid
- your stack is not Java/JVM based
- you need globally coordinated IDs with strict ordering guarantees
- you want a standalone ID generation service rather than an embedded component
- you need an actively developed project - updates are infrequent
Facets
library · maturity maintenance
sdk concurrency developer-tools microservices databases backend developer-tools jvm snowflake unique-id id-generator ring-buffer high-throughput docker
1 source
- readme: https://github.com/baidu/uid-generator · fetched 2026-08-28 · ec6fee001595
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| baidu/uid-generator | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="baidu/uid-generator")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem