Azure Cosmos DB is a fully managed, globally distributed, multi-model NoSQL database service by Microsoft Azure. It is designed for mission-critical applications that require low latency, high availability, and global scalability.
Azure DocumentDB was the original NoSQL document database from Microsoft, focused on JSON data and SQL-like querying. It has been fully integrated and evolved into Azure Cosmos DB, making Cosmos DB the successor with extended capabilities.
While both Cosmos DB and Hadoop work with large-scale data, they serve different purposes and architectures.
Feature | Azure Cosmos DB | Hadoop |
---|---|---|
Type | Managed NoSQL database (DBaaS) | Distributed data processing framework |
Primary Use | Operational, real-time data access | Batch processing and analytics |
Data Model | Document, key-value, graph, column-family | HDFS (file-based), any format via tools |
Scalability | Global, auto-scale on demand | Horizontal scaling via manual node setup |
Latency | Low-latency reads/writes (millisecond range) | High-latency batch jobs (minutes or hours) |
Use Case | Real-time apps, IoT, retail, gaming | Big data ETL, analytics, machine learning |