Start here
Cosmosdb
Learn Cosmosdb as a connected topic across chapters, concepts, simulations, and interview reasoning.
CosmosdbMental ModelTradeoffsFailure ModesInterview ReasoningCosmosDB Partition Internals
Begin with
CosmosDB Partition Internals gives you the cleanest entry point before branching into constraints, failures, and related systems.
4
Chapters
10
Concepts
Next
Move to the next useful edge.
Continue ReadingRelated systems
Follow the nearby ideas
Use the map as a quiet orientation layer, then move back into the articles for depth.
Guidance
Cosmosdb
Continues from what you have already explored.
System behavior
HyperLogLog Cardinality Estimation
Hash values route into registers, leading-zero runs update maxima, and the harmonic mean estimates unique cardinality with bounded error.
Step 1 / 3Normal flow
Read in sequence
1CosmosDB Partition Internals: Logical vs Physical Partitions Explained🔥 When Your Database Bill Triples Overnight
A retail engineering team ships a flash-sale feature. Traffic spikes 10×. Their Azure CosmosDB bill triples within 24 hours. Queries that ran in 5ms now ta16 min2ACID Transactions in Distributed Databases: DynamoDB, Cosmos DB, and Spanner ComparedTLDR: ACID transactions in distributed databases are not equal. DynamoDB provides multi-item atomicity scoped to 25 items using two-phase commit with a coordinator item, but only within a single regio39 min3Azure Cosmos DB Consistency Levels Explained: Strong, Bounded Staleness, Session, Consistent Prefix, and EventualTLDR: Cosmos DB offers five consistency levels — Strong, Bounded Staleness, Session, Consistent Prefix, Eventual — each with precise, non-obvious internal mechanics. Session does not mean HTTP session25 min4Azure Cosmos DB API Modes Explained: NoSQL, MongoDB, Cassandra, PostgreSQL, Gremlin, and TableTLDR: Cosmos DB's six API modes are wire-protocol compatibility layers over one shared ARS storage engine — except PostgreSQL (Citus), which is genuinely different. Every API emulates its native datab24 min
Related threads

