Cosmos DB vs Dgraph
Cosmos DB is a multiple database; Dgraph is a property graph database. Cosmos DB (2014-08, Proprietary, C++) ranks #16 this month; Dgraph (2015-12, Apache-2.0, Go) ranks #3. They differ on 22 of 46 surveyed features.
| Attribute | Cosmos DB | Dgraph |
|---|---|---|
| At a glance | ||
| Rank | #16 | #3 |
| Score | 60.4 | 67.6 |
| GitHub stars | — | 21.8k |
| Popularity | 73.8 | 79.7 |
| Activity | — | 77.2 |
| Community | 47.6 | 67.3 |
| Research | 88.5 | 62.3 |
| Fundamentals | ||
| Description | A globally distributed multi-model database service on Microsoft Azure with property graph support through the Apache Gremlin API. Offers multi-region replication and multiple consistency models. | A distributed graph database with horizontal scaling and ACID transactions. Uses its own query language (DQL) derived from GraphQL, with automatic shard rebalancing across cluster nodes. |
| Vendor | Microsoft | Istari |
| Model | Multiple | Property Graph |
| Kind | database | database |
| Category | Enterprise | Enterprise |
| First released | 2014-08 | 2015-12 |
| Status | active | active |
| License | Proprietary | Apache-2.0 |
| Written in | C++ | Go |
| Query languages | Gremlin, SQL | DQL, GraphQL |
| gdotv support | yes | yes |
Feature scores 22 of 46 rows differ
| Feature | Cosmos DB | Dgraph |
|---|---|---|
| Community & Business | ||
| Active development | ✓ | ✓ |
| Commercial support | ✓ | ✓ |
| Live community | 0.5 | 0.5 |
| Open Source | · | ✓ |
| Pricing | ✓ | · |
| Trendiness | ✓ | 0.25 |
| Deployment | ||
| Containerization | 0.5 | ✓ |
| Work as dedicated instance | ✓ | ✓ |
| Work as embedded | · | · |
| Testing in-memory version | ✓ | ✓ |
| Platform | ||
| Operating on Linux | · | ✓ |
| Operating on Windows | ✓ | ✓ |
| SaaS offering | ✓ | ✓ |
| Operations | ||
| Automatic updates | ✓ | · |
| Client side caching | · | · |
| Data versioning support | · | · |
| Live backups | ✓ | ✓ |
| Distribution | ||
| Cluster Re-balancing | 0.5 | ✓ |
| Data Distribution | ✓ | ✓ |
| High-Availability | ✓ | ✓ |
| Query Distribution | ✓ | ✓ |
| Replication support | ✓ | ✓ |
| Developer Experience | ||
| Data types defined | · | ✓ |
| Logging/Auditing | ✓ | 0.5 |
| Object-Graph Mapper | ✓ | · |
| Reactive programming | ✓ | · |
| Documentation up-to-date | ✓ | 0.5 |
| Binary protocol | · | ✓ |
| CLI | ✓ | · |
| GUI | ✓ | ✓ |
| Data Model | ||
| Multi-database | ✓ | · |
| Graph-native data | · | ✓ |
| REST API | ✓ | ✓ |
| Query Language | ✓ | ✓ |
| Transactions | ||
| Granular locking | · | · |
| Multiple isolation levels | ✓ | · |
| Read committed transaction | ✓ | · |
| Transaction support | 0.5 | ✓ |
| Schema & Security | ||
| Constraints | · | · |
| Schema support | · | ✓ |
| Secondary indexes | ✓ | ✓ |
| Server side procedures | ✓ | · |
| Triggers | ✓ | · |
| Authentication | ✓ | ✓ |
| Authorization | ✓ | ✓ |
| Data encryption | ✓ | ✓ |
Links
- Cosmos DB · website · full profile
- Dgraph · website · github · full profile