Dgraph is a horizontally scalable and distributed graph database, providing ACID transactions, consistent replication and linearizable reads. It’s built from ground up to perform for a rich set of queries. Being a native graph database, it tightly controls how the data is arranged on disk to optimize for query performance and throughput, reducing disk seeks and network calls in a cluster.
Dgraph’s goal is to provide Google production level scale and throughput, with low enough latency to be serving real time user queries, over terabytes of structured data. Dgraph supports GraphQL-like query syntax, and responds in JSON and Protocol Buffers over GRPC and HTTP.
The quickest way to install Dgraph is to run this command on Linux or Mac.
curl https://get.dgraph.io -sSf | bash
Install with Docker
If you’re using Docker, you can use the official Dgraph image.
docker pull dgraph/dgraph:latest
Install from Source
If you want to install from source, you can use
go get to install to
go get -v github.com/dgraph-io/dgraph/dgraph