TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ULID or CUID2?

1 pointsby superjose8 months ago

1 comment

superjose8 months ago
What should I use for a startup going after B2B sales?<p>ULIDs or CUID2s for primary keys?<p>I remember seeing Hussein Nasser&#x27;s Shopify video: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=f53-Iw_5ucA" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=f53-Iw_5ucA</a><p>And it made me switch to using ULIDs instead.<p>I know this may fall into the &quot;premature optimization is the root of all evils&quot; category. But since it&#x27;s straightforward, what should I do?<p>I&#x27;ve been using ULIDs in distributed systems with no problems so far.
评论 #41537552 未加载