selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

dgraph logo

Self-host dgraph

v25.5.1

Distributed GraphQL database with native query support

ReleaseOpen SourceApache-2.0
Updatedlast month
LanguageGo
Setup difficultyModerate
Stars
21 838
Ports
8080 (HTTP connections), 9080 (gRPC connections)
Install with Docker

What is dgraph?

Dgraph is a horizontally scalable graph database combining a GraphQL query layer with a distributed backend. It handles real-time queries across terabytes of data while maintaining ACID transactions, linearizable reads, and consistent replication. Built in Go, it's optimized for low latency at scale and powers production systems at Fortune 500 companies.

dgraph alternatives

Should you self-host dgraph?

dgraph scores 74/100 on selfhost.directory (how scoring works) and ranks #9 of 38 in Databases. It has 21 838 GitHub stars, +27 in the last 30 days.

It shipped 16 stable releases in the past year. The latest, v25.5.1, came out on 22 October 2026. New versions land roughly every 9 days.

Setup is moderate: expect some configuration beyond a single command. It is Apache-2.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Redis (86/100, 77 583 stars). It scores higher overall, so compare the two before you pick. See dgraph vs Redis side by side.

Features

  • ACID Transactions
  • Distributed architecture

dgraph README

Dgraph Logo

GitHub Repo stars GitHub commit activity Go Report Card Docker Pulls

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 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.

How to install dgraph

Install dgraph with Docker

docker pull dgraph/dgraph:latest

dgraph releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Databases

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…