ULIDs and Primary Keys
When it comes to picking the type for your database's primary keys, there are a few divided camps. When making this
decision for Visibuild I had to choose between the simplicity of
sequential IDs and the longevity/future benefits of non-sequential IDs. I chose non-sequential IDs to make it easier to
deal with sharding and regional databases in the future. Out of the many flavours of non-sequential IDs I chose ULIDs.Here's how I got there.UUIDLet's start where most people do, with UUIDs.UUIDs (un...
Read more at blog.daveallie.com