dgraph-io/dgraph ↗
Created May 21, 2023 · View the dgraph-io/dgraph repository page
high-performance graph database for real-time use cases
Want this for your repo?
Render a free sample of any GitHub repo in seconds.
Contributors
212
Lines of Code
45,687
From
Aug 25, 2015
To
May 15, 2023
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.