Jeremy Likness
Jeremy Likness
Empowering developers to be their best.
📅 May 10, 2018 🕘 2 min read 💬 380 words

NoSQL and Azure Cosmos DB in 20 Minutes

Everything you need to know about non-relational databases and how to use Azure Cosmos DB to stand up your own cloud-based solutions.

You are viewing a limited version of this blog. To enable experiences like comments, opt-in to our privacy and cookie policy.

At Build 2018 I had the opportunity to present a short theater session focused on Azure Cosmos DB. I decided to divide the presentation into two parts. The first is an overview of relational databases and how they relate (see what I did there?) to non-relational or NoSQL databases. The second part demonstrates how Azure Cosmos DB provides a fully managed implementation of NoSQL that supports multiple APIs.

Photo of Jeremy presenting

Photo: [](

I demoed two projects as part of the talk. The full USDA database example implemented with the Mongo DB API is available here:


The flights example leveraging the Gremlin Graph API and the SQL API is available here:


You can download the full deck by clicking here. One topic I was not able to cover in detail is consistency levels. This can be confusing to developers who haven’t worked with distributed non-relational databases, so I wrote a blog post to help explain consistency levels using the analogy of a billiards tournament.

Getting Behind the 9-Ball: Cosmos DB Consistency Levels Explained

Explore cloud NoSQL Azure Cosmos DB database consistency levels like “strong”, “bounded staleness” and “consistent prefix” using a billiards game analogy to explain what they mean.

This is the full video of my Build presentation:

If you like what you see and want to dig deeper, be sure to check out the recap from my full hour presentation at the DotNext conference. You can download the larger deck that has more explanations and details, as well as watch that presentation once the video becomes publicly available.

A few other blog posts you may want to explore:

Get Started with CosmosDB SQL API

Video walk through shows how to create an Azure Cloud-based NoSQL database with CosmosDB and connect from a .NET application using the SQL API in under 5 minutes.

Exploring the CosmosDB with Power BI

Learn how I leveraged CosmosDB to store telemetry from a URL shortening tool, then analyze the data in a PowerBI dashboard.

Expanding Azure Functions to the Cosmos

Serverless data platform CosmosDB meets serverless compute platform Azure Functions in this example based on a URL link shortener that is used to track click-through metrics.

Ready to get started? You can click here to get started with the full Azure Cosmos DB documentation.


Jeremy Likness

Do you have an idea or suggestion for a blog post? Submit it here!

Related articles: