Scalability concepts: distributed ID generation
avikdas.com
avikdas.com
- A large range. It looks like CUIDs support a short version, but the README calls out the short version should only be used for disambiguation, and are "absolutely not recommended for database unique IDs".
- Encode the partition in the ID. In this case, the partition is either based on the browser or the process ID of the server.
Cool stuff, thanks for pointing it out!