Designing NoSQL and Non-Relational Data Solutions: Cosmos DB, Table, Blob, Search, Graph and Time-Series Choices

Microsoft Azure Architect Design AZ 301 60 min min read Updated: Nov 17, 2026 Advanced
Designing NoSQL and Non-Relational Data Solutions: Cosmos DB, Table, Blob, Search, Graph and Time-Series Choices
Advanced Topic 2 of 3

Choosing a Non-Relational Store

Data and needService
JSON documents, global, low latency, elasticCosmos DB (NoSQL API)
Existing MongoDB or Cassandra appsCosmos DB for MongoDB / Cassandra
Graph relationshipsCosmos DB for Gremlin
Simple key-value, cheapestTable Storage
Files, images and big blobsBlob Storage
Logs, telemetry and time-series analyticsAzure Data Explorer (Kusto)
Full-text and vector searchAzure AI Search
Hot cache and sessionsAzure Cache for Redis

Cosmos DB Design Steps

  1. List access patterns (the queries you will run most)
  2. Choose the API. NoSQL for new apps
  3. Pick a partition key with high cardinality that appears in most queries
  4. Choose consistency (Session by default)
  5. Estimate RU/s from item size and operations per second, and choose provisioned, autoscale or serverless
  6. Choose regions, zone redundancy and write mode
  7. Plan indexing policy, TTL, change feed and backups

Consistency Choices

ScenarioLevel
Bank balance in one regionStrong (single region) or Bounded staleness
User profile edited and read by the same userSession
Social feed countersEventual or Consistent prefix
Global with ordering needsBounded staleness

Data Modeling Tips

  • Model for reads: embed related data you read together, reference data that grows without limit or changes alone
  • Avoid cross-partition queries on hot paths
  • Keep items small (the limit is 2 MB per item) and index only what you query
  • Use TTL to expire old data automatically
json { "id": "o1001", "customerId": "c42", "status": "paid", "items": [ { "sku": "A1", "qty": 2, "price": 399.5 } ], "ttl": 31536000 }

Global Distribution Design

  • Add read regions near users. Use multi-region writes only when needed, with a conflict resolution policy
  • Enable automatic failover with priorities
  • Costs multiply with regions (RU/s and storage per region)

Complementary Services

  • Redis in front of databases for fast reads (cache-aside)
  • AI Search for rich search with text and vectors over your data
  • Data Explorer for streaming telemetry with fast KQL queries
  • Synapse Link or Fabric mirroring to analyze operational data without load on the live database

Scenario

An IoT platform receives 20,000 events per second. Design: devices to Event Hubs, hot path in Stream Analytics, recent data in Data Explorer for dashboards, device twin and metadata in Cosmos DB partitioned by /deviceId, raw archive in Data Lake.

Practice

  1. Pick a partition key for orders, devices and chat messages
  2. Estimate RU/s for 500 reads and 100 writes per second of 1 KB items (reads about 1 RU, writes about 5 RU)
  3. Choose a store for logs, search results and sessions

Conclusion

Pick the non-relational service by data shape and access pattern, design Cosmos DB around partition keys and consistency, and add Redis, Search and Data Explorer where they fit.

Quick Summary: services; Cosmos steps; consistency; modeling; distribution; companions; scenario.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators