๐ŸŒ

Azure Cosmos DB

Cosmos DB is Microsoft Azure's globally-distributed, multi-model database. It sits around #17 in real-world usage (roughly 4.6%) โ€” it can behave like a document store, key-value store, or graph database depending on the API you choose, built for apps that need to run consistently across multiple world regions.

๐Ÿ“Œ Quick facts
Type: Multi-model database (NoSQL, globally distributed)
Made by: Microsoft Azure
License: Proprietary/managed-cloud
Hosting: Fully managed, globally distributed
Primary use case: Globally-distributed applications built on Microsoft Azure

Core concepts & example

Cosmos DB's SQL API lets you query JSON documents with SQL-like syntax:

SELECT c.name, c.price
FROM c
WHERE c.category = "electronics"
AND c.price > 100

Getting started

Cosmos DB is created through the Azure Portal or CLI, and offers a free local emulator for development:

# run the Cosmos DB emulator locally (Docker, Linux/Windows)
docker run -p 8081:8081 -p 10250-10255:10250-10255 \
  mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator
๐ŸŽฏ Best for: globally-distributed applications built on Microsoft Azure that need consistent low-latency access from multiple regions.