Azure Cosmos DB: Partition Keys and Data Modeling

Choosing the right partition key is the most important Cosmos DB decision you’ll make. Get it wrong, and you’ll hit performance issues. Here’s how to think about it. What is a Partition Key? Cosmos DB distributes data across physical partitions based on your partition key. All items with the same partition key value live together. […]

Read more →

Terraform Basics: Infrastructure as Code for Azure

I’ve been managing Azure resources with ARM templates for years. They work, but they’re verbose and hard to read. Terraform is a breath of fresh air. Here’s how to get started. Why Terraform? Readable: HCL is much cleaner than JSON/ARM Multi-cloud: Same tool for Azure, AWS, GCP State management: Tracks what’s deployed Plan before apply: […]

Read more →

Azure Cosmos DB: Getting Started with the Multi-Model Database

Cosmos DB is Azure’s globally distributed, multi-model database. It’s different from SQL Server in fundamental ways. Here’s what you need to know to get started. Key Concepts Global distribution: Replicate data across regions with a click Multi-model: Document, key-value, graph, column-family APIs Guaranteed latency: <10ms reads/writes at 99th percentile Elastic scale: Throughput and storage scale […]

Read more →