Tag
cosmos-db
4 articles tagged with “cosmos-db”
Sharding: Picking a Key You Won't Regret in Two Years
Hash vs range vs directory sharding, the shard-key checklist, consistent hashing in C#, dual-write resharding, and when managed Cosmos DB / SQL Hyperscale beats DIY.
Consistency Models: From Strong to Eventual (and What CAP Doesn't Tell You)
Linearizable, causal, bounded staleness, session, eventual — what each one buys you, Cosmos DB's 5 levels, SQL isolation, read-your-writes, and sagas instead of 2PC.
Azure Cosmos DB: Partition Keys, RUs, and the Five Consistencies
Cosmos DB SQL API, 5 consistency levels, partition-key design (10GB cap, hot-partition avoidance), RU/s autoscale vs serverless, CosmosClient v3 Direct mode + DefaultAzureCredential, point reads (1 RU), change feed, hierarchical partition keys, vector search GA.
Partitioning and Sharding: Range, Hash, List, and Hot Partitions
Vertical vs horizontal vs sharding, range/hash/list strategies, Postgres declarative partitioning + pg_partman, drop-old-partitions instead of DELETE, Cosmos hierarchical partition keys, verifying pruning with EXPLAIN.

