[–] superjose 1y ago ↗ What should I use for a startup going after B2B sales?ULIDs or CUID2s for primary keys?I remember seeing Hussein Nasser's Shopify video: https://www.youtube.com/watch?v=f53-Iw_5ucAAnd it made me switch to using ULIDs instead.I know this may fall into the "premature optimization is the root of all evils" category. But since it's straightforward, what should I do?I've been using ULIDs in distributed systems with no problems so far. [–] superjose 1y ago ↗ Crap. I messed up. Please disregard this post. [–] homarp 1y ago ↗ https://news.ycombinator.com/item?id=41537558 for the 'real' one
[–] superjose 1y ago ↗ Crap. I messed up. Please disregard this post. [–] homarp 1y ago ↗ https://news.ycombinator.com/item?id=41537558 for the 'real' one
3 comments
[ 3.1 ms ] story [ 17.0 ms ] threadULIDs or CUID2s for primary keys?
I remember seeing Hussein Nasser's Shopify video: https://www.youtube.com/watch?v=f53-Iw_5ucA
And it made me switch to using ULIDs instead.
I know this may fall into the "premature optimization is the root of all evils" category. But since it's straightforward, what should I do?
I've been using ULIDs in distributed systems with no problems so far.