Closed yaseenkadir closed 5 years ago
We currently use both auto incrementing primary keys and random string keys to generate ids. These are the following properties we want:
Looks like a Snowflake-like mechanism would be pretty good. It's a proven solution. We get the benefit of having entities be sorted by timestamp and id.
We currently use both auto incrementing primary keys and random string keys to generate ids. These are the following properties we want:
Looks like a Snowflake-like mechanism would be pretty good. It's a proven solution. We get the benefit of having entities be sorted by timestamp and id.