Dgraph logo

Dgraph

Horizontally scalable distributed graph database with GraphQL, ACID transactions, and linearizable reads

Repository activity
  • Stars21.7k
  • Forks1.6k
  • Open Issues79
License

Apache-2.0

Languages
  • Go
  • TeX
  • Shell
Dgraph screenshot

About Dgraph

Dgraph is a horizontally scalable, distributed graph database for real-time applications over terabytes of structured data. It is sharded across a cluster and provides ACID transactions, consistent replication, and linearizable reads, targeting workloads where data does not fit neatly into relational tables and query performance matters at scale.

Queries use a GraphQL-inspired syntax and return JSON or Protocol Buffers over gRPC and HTTP. Written in Go, Dgraph tightly controls how data is laid out on disk to cut disk seeks and network calls, and it handles distributed joins, traversals, and graph operations natively.

It runs on Linux amd64 and arm64, with Docker the recommended path for testing and deployment, including Docker Compose and Kubernetes. Official client libraries cover several languages. Dgraph is released under the Apache License 2.0.

Key features

  • Sharded, horizontally scalable distributed architecture
  • Distributed ACID transactions and consistent replication
  • GraphQL-inspired queries with JSON and Protocol Buffers output
  • Distributed joins, traversals, and graph operations
  • Native full-text, regular expression, and geo search

Details

First released
2015
Language
Go
Query language
GraphQL-inspired (DQL)
APIs
gRPC · HTTP · JSON · RDF
Deployment
Self-hostable · Docker
License
Apache 2.0