Dgraph

The high-performance database for modern applications
Alternatives To Dgraph
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Dgraph19,629345 hours ago174January 05, 2022272otherGo
The high-performance database for modern applications
Sonic18,563
23 days ago25January 28, 202367mpl-2.0Rust
🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM.
Gun17,345246153a month ago236December 23, 2022296otherJavaScript
An open source cybersecurity protocol for syncing decentralized graph data.
Arangodb13,130
5 hours ago240May 23, 2018818apache-2.0C++
🥑 ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.
Neo4j11,8179661866 days ago401July 19, 2023313otherJava
Graphs for Everyone
Nebula9,48614 days ago1December 17, 2019470apache-2.0C++
A distributed, fast open-source graph database featuring horizontal scalability and high availability
Awesome Data Engineering5,324
10 days ago57
A curated list of data engineering tools for software developers
Titan5,035165337 years ago20September 19, 2015191apache-2.0Java
Distributed Graph Database
Orientdb4,637328572 days ago219July 24, 2023272apache-2.0Java
OrientDB is the most versatile DBMS supporting Graph, Document, Reactive, Full-Text and Geospatial models in one Multi-Model product. OrientDB can run distributed (Multi-Master), supports SQL, ACID Transactions, Full-Text indexing and Reactive Queries.
Graphjin2,7272a month ago516June 03, 202328apache-2.0Go
GraphJin - Build NodeJS / GO APIs in 5 minutes not weeks
Alternatives To Dgraph
Select To Compare


Alternative Project Comparisons
Readme

The Only Native GraphQL Database With A Graph Backend.

Wiki Build Status Coverage Status Go Report Card

Dgraph is a horizontally scalable and distributed GraphQL database with a graph backend. It provides ACID transactions, consistent replication, and linearizable reads. It's built from the ground up to perform for a rich set of queries. Being a native GraphQL 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 query syntax, and responds in JSON and Protocol Buffers over GRPC and HTTP.

Use Discuss Issues for reporting issues about this repository.

Status

Dgraph is at version v21.03.0 and is production-ready. Apart from the vast open source community, it is being used in production at multiple Fortune 500 companies, and by Intuit Katlas and VMware Purser.

Quick Install

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, install Go 1.13+ or later and the following dependencies:

Ubuntu

sudo apt-get update
sudo apt-get install gcc make

Build and Install

Then clone the Dgraph repository and use make install to install the Dgraph binary to $GOPATH/bin.

git clone https://github.com/dgraph-io/dgraph.git
cd ./dgraph
make install

Get Started

To get started with Dgraph, follow:

Is Dgraph the right choice for me?

  • Do you have more than 10 SQL tables connected via foreign keys?
  • Do you have sparse data, which doesn't elegantly fit into SQL tables?
  • Do you want a simple and flexible schema, which is readable and maintainable over time?
  • Do you care about speed and performance at scale?

If the answers to the above are YES, then Dgraph would be a great fit for your application. Dgraph provides NoSQL like scalability while providing SQL like transactions and the ability to select, filter, and aggregate data points. It combines that with distributed joins, traversals, and graph operations, which makes it easy to build applications with it.

Dgraph compared to other graph DBs

Features Dgraph Neo4j Janus Graph
Architecture Sharded and Distributed Single server (+ replicas in enterprise) Layer on top of other distributed DBs
Replication Consistent None in community edition (only available in enterprise) Via underlying DB
Data movement for shard rebalancing Automatic Not applicable (all data lies on each server) Via underlying DB
Language GraphQL inspired Cypher, Gremlin Gremlin
Protocols Grpc / HTTP + JSON / RDF Bolt + Cypher Websocket / HTTP
Transactions Distributed ACID transactions Single server ACID transactions Not typically ACID
Full-Text Search Native support Native support Via External Indexing System
Regular Expressions Native support Native support Via External Indexing System
Geo Search Native support External support only Via External Indexing System
License Apache 2.0 GPL v3 Apache 2.0

Users

Developers

Client Libraries

The Dgraph team maintains several officially supported client libraries. There are also libraries contributed by the community unofficial client libraries.

Contact

Popular Database Projects
Popular Graph Projects
Popular Data Storage Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Go
Golang
Database
Graph
Graphql
Transaction
Indexing
Graphql Server
Graph Database
Graphdb
Gremlin