Cosmos DB vs Dgraph
Cosmos DB is a multiple database; Dgraph is a property graph database. Cosmos DB (2017-05, Proprietary) ranks #10 this month; Dgraph (2015, Apache-2.0, Go) ranks #3. They differ on 22 of 46 surveyed features.
| Attribute | | |
|---|---|---|
| At a glance | ||
| Rank | #10 | #3 |
| Score | 61.8 | 66.5 |
| GitHub stars | — | 21.8k |
| Popularity | 70.4 | 76.7 |
| Activity | — | 78.5 |
| Community | 59.9 | 67.3 |
| Research | 88.5 | 57.7 |
| 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 | 2017-05 | 2015 |
| Status | active | active |
| License | Proprietary | Apache-2.0 |
| Written in | — | 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