You are designing the data tier for a global smart grid utility monitoring application. The application must ingest telemetry data from smart meters distributed across three geographic regions: East US, West Europe, and East Asia. The workload is highly write-heavy, with a write-to-read ratio of . The system must guarantee sub- ms write latency locally and achieve a write availability SLA. The primary query pattern involves retrieving the last hours of readings for a specific meter. Additionally, the solution must meet strict disaster recovery compliance, requiring survival of a complete regional outage. Which design strategy should you recommend to meet the performance, availability, and resilience requirements?
- Provision an Azure Cosmos DB for NoSQL account with multi-region writes enabled across all three regions, configure zone-redundancy for each region, and set the container partition key to MeterId.Cevap
- BProvision an Azure Cosmos DB for NoSQL account with multi-region writes enabled across all three regions, configure zone-redundancy for each region, and set the container partition key to RegionId.
- CProvision an Azure Cosmos DB for NoSQL account in a single region with Locally Redundant Storage (LRS) to minimize cost, and configure a scheduled daily backup script to copy data to secondary regions.
- DIngest the telemetry data into Azure Blob Storage using a container partitioned by MeterId, and authenticate the ingestion gateways using a Shared Access Signature (SAS) token configured with a five-year validity period without a stored access policy.
Cevap
Provision an Azure Cosmos DB for NoSQL account with multi-region writes enabled across all three regions, configure zone-redundancy for each region, and set the container partition key to MeterId.
Provisioning an Azure Cosmos DB for NoSQL account with multi-region writes enabled ensures that write operations are processed locally in each region, achieving the sub- ms latency goal and meeting the SLA. Configuring zone-redundancy within each region provides resilience against local datacenter outages. Using the high-cardinality MeterId as the partition key ensures write operations are distributed evenly across logical and physical partitions, preventing hot partitions.
Adım Adım Çözüm
Anahtar Kavram
Azure Cosmos DB partitioning, multi-region replication, and resilience design for high-throughput NoSQL workloads.