Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2018 (2)
20082026
  1. Snowflake or sonyflake ids work: https://en.wikipedia.org/wiki/Snowflake_ID https://github.com/sony/sonyflake?tab=readme-ov-file
  2. 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
  3. 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.