Azure Cosmos DB
Azure Cosmos DB is a fully managed NoSQL database for modern app development.
Key Features
- Global Distribution: Turnkey global distribution to any number of Azure regions.
- Multi-Model: Supports Key-Value, Column Family, Document, and Graph data models.
- APIs: SQL (Core), MongoDB, Cassandra, Gremlin, Table.
- SLA: 99.999% availability for multi-region writes.
Use Cases
- IoT and Telemetry: Ingesting massive amounts of data in real-time.
- Retail and E-commerce: storing product catalogs and user profiles.
- Gaming: Storing player stats and leaderboards.
Key Concepts
- Request Units (RUs): The currency for throughput. You provision RUs per second.
- Partition Key: Critical for scaling. Determines how data is distributed across physical partitions.
- Consistency Levels: Strong, Bounded Staleness, Session, Consistent Prefix, Eventual.