Cloud Expert
Azure Cosmos DB — Global NoSQL¶
AzureCosmos DBNoSQLGlobal distribution 5 min read
Cosmos DB API models, consistency levels, partitioning and RU optimization.
API Models¶
- NoSQL (Core) — JSON documents, SQL-like queries
- MongoDB / Cassandra / Gremlin / Table / PostgreSQL
Consistency Levels¶
5 levels: Strong → Bounded Staleness → Session → Consistent Prefix → Eventual. Session is the default — best performance/consistency ratio.
Partition Key¶
- High cardinality (userId, tenantId)
- Even distribution — no hot partitions
- Queries within a single partition = cheap
Summary¶
Cosmos DB = globally distributed apps with single-digit ms latency. The key = choosing the right partition key.
Need Help with Implementation?¶
Our team has experience designing and implementing modern architectures. We’re happy to help.