github.com/dgraph-io/dgraph ↗
high-performance graph database for real-time use cases
Open this visualization on its own page →
Contributors
212
Lines of Code
45,687
From
2015-08-25
To
2023-05-15
About dgraph-io/dgraph
Dgraph is a horizontally scalable, distributed graph database built in Go that uses GraphQL as its native query language. It combines the scalability and flexibility of NoSQL systems with ACID transactions, consistent replication, and linearizable reads typical of traditional databases. The system is optimized for real-time queries over large datasets, with careful data arrangement on disk to minimize seeks and network calls in distributed clusters.
The database supports multiple query protocols including GraphQL syntax, JSON responses, Protocol Buffers, and both gRPC and HTTP interfaces. Dgraph is production-ready at version 25 and is currently deployed at multiple Fortune 500 companies. The project officially supports Linux on amd64 and arm64 architectures, with Docker recommended as the primary deployment method, though building from source using Go 1.24 or later is also supported.
Compared to other graph databases, Dgraph distinguishes itself through its sharded and distributed architecture with automatic data movement for shard rebalancing, distributed ACID transactions, and native support for full-text search, regular expressions, and geospatial queries. The project is licensed under Apache 2.0 and maintains officially supported client libraries across multiple programming languages, with additional community-contributed clients available.