Dgraph
A horizontally scalable, distributed graph database with native GraphQL support, ACID transactions and consistent replication, written in Go.
- GitHub stars
- 22k
- Last commit
- yesterday
- Latest release
- v25.4.1
- Licence
- Apache-2.0
- Self-hosted
- Yes

Dgraph is a distributed database that stores data as a graph while exposing it through GraphQL. It scales horizontally across machines and offers ACID transactions, consistent replication and linearizable reads, so a cluster behaves predictably even as it grows.
The project was built from scratch around the way graph data is laid out on disk, which it says reduces disk seeks and network calls in a cluster and improves query performance and throughput. The stated aim is production-level scale with latency low enough to answer live user queries across terabytes of structured data. Clients send queries in GraphQL syntax and receive JSON or Protocol Buffers over gRPC and HTTP. Topics point to uses such as knowledge graphs.
Dgraph is written in Go and licensed under Apache-2.0. The README describes it as production-ready at version 25 and in use at multiple large companies, and it officially supports Linux on amd64 and arm64 architectures. It is a fit for teams modeling highly connected data, such as social graphs, recommendations or knowledge bases, who also want a GraphQL API.
Key features
- Native GraphQL database with graph backend
- ACID transactions across a cluster
- Consistent replication and linearizable reads
- Horizontal scaling and distribution
- JSON and Protocol Buffers responses
- gRPC and HTTP APIs
Pricing: Free and open source under the Apache-2.0 license.




