Re:Database IDs Have No Place in URIs (2008)
by wvh on Friday May 10, 2019 @07:22PM
(#19883204)
Use an encoded time prefix and a random part to create your UUID. I've been using such UUIDs as primary keys in Postgresql for years and I can't tell the difference in performance with say 64-bit numbers. If you don't need millions of records, even a 64-bit number with timestamp and random part will do – like "Twitter snowflake" ids.
[ Parent
| on HN ]
There are no comments on this comment yet.