sony/sonyflake
A distributed unique ID generator inspired by Twitter's Snowflake observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 67
- 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: 4114
- days_rel: n/a
- days_push: 202
- n_releases_24m: 0
Adoption not part of the score
4404 stars · 329 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Sonyflake is a Go library that generates distributed unique 64-bit IDs, inspired by Twitter's Snowflake. It trades per-instance generation rate for a longer lifetime (174 years) and support for more machines (2^16), with configurable bit assignments.
Use cases
- generate unique IDs for database rows across distributed servers
- replace Twitter Snowflake with longer-lifetime ID generation
- assign collision-free IDs in a multi-host Go service
- generate sortable time-ordered identifiers
- scale ID generation across many cores with goroutines
When to choose
- you need distributed unique IDs in Go with long lifetime and many machine support
- you want configurable bit layout for time, sequence, and machine ID
- moderate per-instance rate (256 IDs per 10ms) is sufficient
When to avoid
- you need very high ID generation rate on a single instance
- your stack is not Go
- you need IDs shorter than 64 bits or non-numeric IDs
Facets
library · maturity stable
serialization developer-tools microservices backend developer-tools go cross-platform unique-id-generator snowflake distributed-ids id-generation
1 source
- readme: https://github.com/sony/sonyflake · fetched 2026-08-28 · 815695a18206
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sony/sonyflake | main | 62 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem