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
20082026
-
https://github.com/rs/xid
comment by nwhnwh · 2026-03-07 · in UUID package coming to Go standard library -
…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 -
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:…
comment by ignoramous · 2020-12-04 · in Pg-shortkey: YouTube-Like Short IDs as Postgres Primary Keys -
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.
comment by swah · 2018-12-28 · in ULID: Universally Unique Lexicographically Sortable Identifier