Dgraph vs Google Cayley
Dgraph is a property graph database; Google Cayley is a rdf database. Dgraph (2015-12, Apache-2.0, Go) ranks #3 this month; Google Cayley (2014-06, Apache-2.0, Go) ranks #62. They differ on 21 of 46 surveyed features.
| Attribute | Dgraph | Google Cayley |
|---|---|---|
| At a glance | ||
| Rank | #3 | #62 |
| Score | 67.6 | 46.1 |
| GitHub stars | 21.8k | 15.1k |
| Popularity | 79.7 | 71.9 |
| Activity | 77.2 | 30.5 |
| Community | 67.3 | 30.6 |
| Research | 62.3 | — |
| Fundamentals | ||
| Description | 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. | An open-source RDF graph database inspired by the graph database behind Google's Knowledge Graph (Freebase). Features pluggable backend storage and multiple query language support. |
| Vendor | Istari | Cayley Community |
| Model | Property Graph | RDF |
| Kind | database | database |
| Category | Enterprise | Emerging |
| First released | 2015-12 | 2014-06 |
| Status | active | inactive — No significant development activity since 2020. |
| License | Apache-2.0 | Apache-2.0 |
| Written in | Go | Go |
| Query languages | DQL, GraphQL | Gizmo, GraphQL, MQL |
| gdotv support | yes | no |
Feature scores 21 of 46 rows differ
| Feature | Dgraph | Google Cayley |
|---|---|---|
| Community & Business | ||
| Active development | ✓ | 0.5 |
| Commercial support | ✓ | · |
| Live community | 0.5 | · |
| Open Source | ✓ | ✓ |
| Pricing | · | · |
| Trendiness | 0.25 | 0.75 |
| Deployment | ||
| Containerization | ✓ | ✓ |
| 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 | · | 0.5 |
| Data versioning support | · | · |
| Live backups | ✓ | · |
| Distribution | ||
| Cluster Re-balancing | ✓ | · |
| Data Distribution | ✓ | ✓ |
| High-Availability | ✓ | 0.5 |
| 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 | ✓ | ✓ |
| Schema & Security | ||
| Constraints | · | 0.5 |
| Schema support | ✓ | 0.5 |
| Secondary indexes | ✓ | ✓ |
| Server side procedures | · | · |
| Triggers | · | · |
| Authentication | ✓ | · |
| Authorization | ✓ | · |
| Data encryption | ✓ | · |
Links
- Dgraph · website · github · full profile
- Google Cayley · website · github · full profile