# dgraph-io/dgraph

high-performance graph database for real-time use cases

Repository: https://github.com/dgraph-io/dgraph
Canonical: https://ross.abutalabs.com/products/dgraph
Homepage: https://dgraph.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: database, distributed, go, knowledge-graph
Last push: 2026-08-25T19:23:40+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 4026, "days_push": 8, "days_rel": 9, "gap_med": 19, "n_releases_24m": 26}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 21780, forks 1603 (observed 2026-08-28T04:11:32.080434+00:00)

## What it is
Dgraph is a distributed, horizontally scalable graph database with native GraphQL support, written in Go. It provides ACID transactions, consistent replication, and low-latency real-time queries over terabytes of structured data.

## Use cases
- store and query highly connected data like social networks or knowledge graphs
- generate a GraphQL API directly from a schema for rapid backend development
- serve real-time user-facing queries at terabyte scale
- build recommendation engines over relationship-heavy data
- run a distributed database cluster with replication and ACID guarantees

## When to choose
- your data is highly relational and graph-shaped with deep traversals
- you need horizontal scalability and real-time query latency
- you want a GraphQL API generated from your schema
- you deploy on Linux with Docker or Kubernetes

## When to avoid
- you need first-class macOS or Windows production support
- your workload is simple relational/tabular data better served by SQL
- you need a small single-node embedded database
- you rely on a rich ecosystem of SQL tooling and ORMs

## Facets
- artifact type: service
- maturity: stable
- function: database, graphql, search-engine, api-framework
- domain: databases, backend, apis, microservices, web-development
- platform: go, self-hosted, cloud
- tags: graph-database, distributed-database, knowledge-graph, acid-transactions, grpc, horizontally-scalable, linux, docker, kubernetes

## Member repositories
- dgraph-io/dgraph (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:32.080434+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:57:48.387272+00:00, confidence not recorded.
  - readme: https://github.com/dgraph-io/dgraph (fetched 2026-08-28T04:11:32.080434+00:00, sha c68da27fcac7)
  - homepage: https://dgraph.io (fetched 2026-08-29T07:56:14.809410+00:00, sha c53713bdbb73)
- Data as of 2026-08-30T08:39:29.467469+00:00.
