description Azure Cosmos DB Overview
Azure Cosmos DB is a globally distributed, multi-model database service from Microsoft. It supports various data models including Key-Value, Document, Graph, and Column-family. Its standout feature is the ability to provide single-digit millisecond latency at any scale with guaranteed consistency levels. Cosmos DB is designed for modern applications that need to serve users worldwide with high availability and seamless horizontal scaling.
help Azure Cosmos DB FAQ
What consistency models does Azure Cosmos DB support?
Cosmos DB is unique because it offers five well-defined consistency models, ranging from Strong to Eventual consistency, including Bounded Staleness and Session. This allows developers to fine-tune the balance between data accuracy, latency, and throughput for their specific application. It eliminates the need to stick to the extreme binary choices of strict or eventual consistency found in other NoSQL databases.
How does Azure Cosmos DB handle partitioning?
Cosmos DB uses logical partitions to scale data horizontally, distributing items based on a partition key chosen by the developer. All items with the same partition key are stored together, making it crucial to select a key that evenly distributes workload. As storage or throughput requirements grow, Cosmos automatically moves these logical partitions across underlying physical servers.
What APIs are compatible with Azure Cosmos DB?
To make migration easier, Cosmos DB offers native, wire-compatible APIs for several popular database formats, including SQL (Core) API, MongoDB API, and Cassandra API. This means developers can interact with the database using existing drivers and SDKs without learning a new query language. It also supports Gremlin for graph databases and Azure Table API for key-value storage.
explore Explore More
Similar to Azure Cosmos DB
See all arrow_forwardReviews & Comments
Write a Review
Be the first to review
Share your thoughts with the community and help others make better decisions.