HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
dgraph-io
dgraph
Go2015–2024
dgraph-io / dgraph

dgraph

high-performance graph database for real-time use cases

36Distinct people
57Mentions
0Explicit recommenders
21.8KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

high-performance graph database for real-time use cases

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:54:37 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year57 dated mentions

Observed mentions: 2015-12-01 17:43:10 UTC to 2024-03-12 22:56:47 UTC.

051015202015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 17 mentions; 2 submissions, 15 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 12 mentions; 1 submissions, 11 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 18 mentions; 2 submissions, 16 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC110
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC17215
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC303
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC12111
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC18216
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC303
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC110

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
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. Dgraph's goal is to provide Google production-level scale and throughput, with low enough latency to serve 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. Dgraph is written using the Go Programming Language. Status Dgraph is at version v25 and is production-ready. Apart from the vast open source community, it is being used in production at multiple Fortune 500 companies. Supported Platforms Dgraph officially supports the Linux/amd64 and Linux/arm64 architectures. In order to take advantage of memory performance gains and other architecture-specific advancements in Linux, we dropped official support for Mac and Windows in 2021, see this blog post for more information. You can still build and use Dgraph on other platforms (for live or bulk loading for instance), but support for platforms other than Linux/amd64 and Linux/arm64 is not available. Running Dgraph in a Docker environment is the recommended testing and deployment method. Install with Docker If you're using Docker, you can use the official Dgraph image. docker pull dgraph/dgraph:latest For more information on a variety Docker deployment methods including Docker Compose and Kubernetes, see the docs. Run a Quick Standalone Cluster docker run -it -p 8080:8080 -p 9080:9080 -v ~/dgraph:/dgraph dgraph/standalone:latest Install from Source If you want to install from source, install Go 1.27+ or later and the following dependencies: Ubuntu sudo apt-get update sudo apt-get install build-essential Build and Install Then clone the Dgraph repository and use make install to install the Dgraph binary in the directory named by the GOBIN environment variable, which defaults to $GOPATH/bin or $HOME/go/bin if the GOPATH environment variable is not set. git clone https://github.com/dgraph-io/dgraph.git cd dgraph make setup make install Get Started To get started with Dgraph, follow: Installation to queries in 4 quick steps. Tutorial and presentation videos on YouTube channel. 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 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 Dgraph official documentation is present at docs.dgraph.io. For general information and questions, visit Github discussions. Please see releases tab to find the latest release and corresponding release notes. Developers Please see Contributing to Dgraph for guidelines on contributions. Client Libraries The Dgraph team maintains several officially supported client libraries. There are also libraries contributed by the community unofficial client libraries. Contact Please use Github discussions for questions, feature requests and discussions. Please use GitHub Issues for filing bugs or feature requests.
Read the full README on GitHub

What Hacker News says

57 sources
1. Is there any option like to do a free text search across multiple predicates at once e.g: I want to search for node(N) which satisfy "X Y" e.g: "john china", where "john" is 'name' predicate and china is 'country' predicate; and both these are grand children at unknown depths of some parent(N). 2. Have the issue like these around regex given any attention yet: https://github.com/dgraph-io/dgraph/issues/5131 3. How to find all inbound outbound edges: The issue discussed here: https://discuss.dgraph.io/t/find-all-inbound-outbound-edges/... 4. How does one backup/restore in a non-enterprise edition? Edit: 5. When will it support multi-tenancy?
In Getting Started With Dgraph and GraphQL+
Hi there, Head of Product at Dgraph here. Our license is Apache v2 for most of our source code. Only our enterprise features are licensed with the Dgraph Community License [DCL](https://github.com/dgraph-io/dgraph/blob/master/licenses/DCL...). We decided to make all of our code available on GitHub regardless of the license (unlike OrientDB if I understand correctly) so anyone can see what the Enterprise Edition really does. Let us know if this is confusing. If you don't want the proprietary code, you can always only use the open-source version of Dgraph with `make oss`. I'm also really interested in seeing where GQL (gql.today) is going, adopting a community-wide standard would be a definite yes from us. In any case, thanks for your feedback. I'd love to hear more on how we can make our product better, feel free to email me at francesc@dg
Read the rest
raph.io.
In Comparing Database Types
Strange that they have to have such a non-standard license, when they go out of their way to mention Apache 2 several times: https://github.com/dgraph-io/dgraph/blob/master/LICENSE.md Contrast that with Orient, who also have an Enterprise version, and they just straight-up say "Apache 2, no drama" https://github.com/orientechnologies/orientdb/blob/develop/l... We had an absolutely miserable experience trying to get Janus to behave rationally, and thus far have had zero drama with Orient; we skipped dgraph because it does not appear to work with Gremlin, meaning one must use vendor-specific APIs to use dgraph. Their client reminds me of the days before ORM: write a big string literal and send it to the server: https://github.com/dgraph-io/dgraph4j#running-a-query
In Comparing Database Types
Dgraph Labs | San Francisco, CA or Bangalore, India | ONSITE We announced our Series A funding this week[1]! Dgraph is the world’s most advanced graph database. It is horizontally scalable, synchronously replicated, transactional and distributed. It can do arbitrarily deep joins, while minimizing network communication and disk seeks, scaling well as cluster size increases. It is a low-latency, high-throughput database, serving complex queries over multiple independent data sources in real-time[2]. Dgraph Labs was started by ex-Google engineers. We are a small team of dedicated engineers with a mission to build world’s best graph database. Nothing less excites us! Open Positions: - Quality Assurance Engineer - DevOps Engineer - Developer Advocate - Distributed Systems Engineer - Full-Stack Engineer Apply here: https://dgraph.io/careers. [1
Read the rest
In Ask HN: Who is hiring? (August 2019)
Dgraph's writes are actually very fast. The one-time bulk loader loads at millions of records per second. With recent optimizations [1], the live loader can load 21M records in 5 mins without indices and 20 mins with tons of indices. Note that all live data load also does WAL, consensus and disk syncs before every write call finishes to ensure crash-resilience. [1]: https://github.com/dgraph-io/dgraph/commit/d697ca0898f0ac951...
In Graph database reinvented: Dgraph gets $11.5M to pursue unique, opinionated path
I work with hypergraphs, where edges have an arbitrary number of nodes. I'm quickly looking through your documentation, Discuss, and GitHub issues/roadmap to try and find out if edges may have more than two nodes. This has been asked about already: https://github.com/dgraph-io/dgraph/issues/1#issuecomment-40... While we have your attention on HN, could you comment? (Sorry if I missed this information elsewhere.) Thank you!
In Graph database reinvented: Dgraph gets $11.5M to pursue unique, opinionated path
After glancing over the README here are a few of the other things I take a look at. The "contributors" tab on GitHub helps get an idea for the health of the project: how long has it been actively maintained? Who did most of the work? https://github.com/dgraph-io/dgraph/graphs/contributors For software libraries, I like looking at the brand new "used by" tab - https://github.com/huge-success/sanic/network/dependents - in addition to indicating project health it's also a great source of examples to look at later when I'm trying to figure out how to do advanced things with the library. I love reading through the CI configuration - .travis.yml or .circleci/config.yml - because at the very least it shows what it takes to run the test suite, and often I'll pick up some fun new CI and automation tricks. I use GitHub code search extensively: some
Read the rest
times for searching within the project, but I'll also search the whole of GitHub for examples of people doing something I want to do with the library: https://github.com/search?q=sanic+cookies&type=Code
In Ask HN: How do you read and understand an open-source project?

Showing the 15 most recent of 57 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.