sony/sonyflake
View on GitHub ↗ ★ 4,419 Go
A distributed unique ID generator inspired by Twitter's Snowflake
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2018-04-11 · latest 2025-12-15
20082026
-
Snowflake or sonyflake ids work: https://en.wikipedia.org/wiki/Snowflake_ID https://github.com/sony/sonyflake?tab=readme-ov-file
comment by mcsoft · 2025-12-15 · in Avoid UUID Version 4 Primary Keys in Postgres -
Use twitter snowflake ids — they pulled their implementation as it was out of date but Sony has one: https://github.com/sony/sonyflake
comment by spullara · 2018-11-12 · in Basecamp Outage Post-mortem -
A node ID would simply be a somewhat-unique ID for a node. Sonyflake implements a 16bit machine ID: https://github.com/sony/sonyflake It prevents multiple machines producing colliding numbers.
comment by zaarn · 2018-04-11 · in Post-Mortem and Security Advisory: Data Exposure After travis-ci.com Outage