All Posts

I’ve been recently migrating some legacy data sets into Cosmos DB and had a requirement to include an project_id field that increments rather than using Cosmos DB’s default document id. To accomplish this, I first approached it client side. I quickly abandoned that approach because it was very susceptible to race conditions where two users claim the same project_id. My…

Read more

Azure Cosmos is a globally distributed, multi-model database service. I’ve worked with it recently as the backend database for several Azure web apps and am impressed with its responsiveness. To connect to the document database, I used the Cosmos SDK which is a client library that enables client applications to connect to Azure Cosmos via the SQL API. It can be…

Read more