Hacker GitHub

← All repos

rs/xid

View on GitHub ↗ ★ 4,281 Go

xid is a globally unique id generator thought for the web

5 mentions on Hacker News by 5 people: 1 story, 4 comments · first 2018-12-28 · latest 2026-03-07

Mentions per year 5 mentions · busiest year 2018 (1)
20082026
  1. https://github.com/rs/xid
  2. …nice is they're shorter than UUID, will sort in order, hides the amount of rows in the table. https://github.com/rs/xid
    comment by nickserv · 2021-05-31 · in You Don't Need UUID
  3. See also u/poitrus' https://github.com/rs/xid Xid uses the Mongo Object ID algorithm to generate globally unique ids with a different serialization (base64) to make it shorter when transported as a string:…
  4. And https://github.com/rs/xid What would be more interesting to me is a benchmark of how would using those as priary keys on Postgres would affect performance.