|
|
|
|
|
by dragonwriter
1842 days ago
|
|
> if you need a unique ID for an entity with not a lot of records planned (≤10,000,000), why not use a random int64 with a simple for loop on the application side to catch the occasional collisions? What’s the use case for this where UUIDv4 or sequential ID isn’t better? Because it sounds like a solution in search of a problem. > Are there any downsides besides making the application side a tiny bit more complex? Are there any upsides to warrant the complexity? |
|
[1] -- https://github.com/hasura/graphql-engine/issues/3578