logoalt Hacker News

crazygringo • yesterday at 10:02 PM • 1 reply • view on HN

Yes, this is standard. And the point is performance. The needs of user-facing ID's (short alphanumeric, randomly ordered) tend to be pretty orthogonal to the needs of internal ID's (raw bits, monotonically increasing, maybe timestamp data).


Replies

mahboi • today at 12:38 AM

Yep, you'll probably join like 20 of those for each public uuid lookup. There are potential reasons not to do it this way, but it's a good default.