TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

DGraph – Scalable, Distributed, Low-Latency, High-Throughput Graph Database

130 pointsby pythonistabout 9 years ago

8 comments

ignoramousabout 9 years ago
Wikidata did a comprehensive analysis of Graph DBs [0], and settled on BlazeGraph with TitanDB coming a close second.<p>Notably, there are quite a few omissions. DGraph and Cayley [1] being two of those. Interestingly, both are developed by Googlers. Cayley is used by Kythe.io [2], a Google project that kind of competes with srclib [3] by SourceGraph.<p>Cayley has native JavaScript interface, which makes it an interesting choice for Node JS based apps.<p>At work, we settled on TitanDB, primarily because it supports DynamoDB&#x2F;Cassandra for storage and ElasticSearch. Most of the graph DBs rely on some storage engine or the other underneath-- Cayley supports LevelDB, for instance; whereas TitanDB supports BerkeleyDB apart from aforementioned DyanmoDB and Cassandra.<p>[0] <a href="https:&#x2F;&#x2F;docs.google.com&#x2F;a&#x2F;wikimedia.org&#x2F;spreadsheets&#x2F;d&#x2F;1MXikljoSUVP77w7JKf9EXN40OB-ZkMqT8Y5b2NYVKbU&#x2F;edit#gid=0" rel="nofollow">https:&#x2F;&#x2F;docs.google.com&#x2F;a&#x2F;wikimedia.org&#x2F;spreadsheets&#x2F;d&#x2F;1MXik...</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;cayley" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;cayley</a><p>[2] <a href="https:&#x2F;&#x2F;kythe.io" rel="nofollow">https:&#x2F;&#x2F;kythe.io</a><p>[3] <a href="https:&#x2F;&#x2F;srclib.org" rel="nofollow">https:&#x2F;&#x2F;srclib.org</a>
评论 #11325896 未加载
评论 #11325898 未加载
评论 #11329295 未加载
simonwabout 9 years ago
This is really exciting. I&#x27;ve been hoping for a robust, distributed open source Graph database ever since I first played with Freebase (which clearly had some amazing secret sauce, long-since purchased by Google). The engineer behind DGraph has worked on Google Knowledge Graph, the spiritual successor to Freebase, and obviously understands the space incredibly well: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;manishrjain" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;manishrjain</a>
nlabout 9 years ago
This looks excellent!<p>Some questions because I need something like this:<p>What does &quot;distributed&quot; mean in this context? Can the graph size be larger than the storage on a single node? If so, how is it partitioned (I think Titan was randomly partitioned)?<p>Has any thought been given to in-graph processing (PageRank etc)?
评论 #11326299 未加载
pbowyerabout 9 years ago
All the graph database traversals I&#x27;ve seen are fairly simple (Friend of a friend, Movies starring X).<p>Are they a good choice for turn-by-turn navigation, and answering questions (given a traffic dataset) like: &quot;What has been the quickest route between A and P, departing at 8am on a Monday morning?&quot;
评论 #11326787 未加载
jervenabout 9 years ago
Your landing page is missing any kind of &quot;evidence&quot; that it is scaleable, low-latency or high throughput.<p>Also if you are sharing on predicate you will end up in big trouble. Predicates in most RDF datasets are not at all evenly distributed, tending more towards extreme value distributions. e.g. in UniProt the most common predicate has 2,419,000,171 occurrences, the least 1!<p>Also if you are going to benchmark can I suggest the rather good LDBC ones[1]. Even if for marketing reasons you don&#x27;t want them public they are good to show where you can improve.<p>[1]<a href="http:&#x2F;&#x2F;www.ldbcouncil.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.ldbcouncil.org&#x2F;</a>
评论 #11330430 未加载
bikamonkiabout 9 years ago
Is a Graph DB suitable for use cases like products&#x2F;homes&#x2F;cars etc where users mostly do &quot;and&quot; queries to narrow down the results set? If so, is it faster than traditional SQL DB?
评论 #11325266 未加载
lobster_johnsonabout 9 years ago
This looks very promising!<p>Are you planning to add filtering, supported by indexes? Seems a bit useless for production use if you can&#x27;t filter a query by predicate, or even sort&#x2F;limit. You could layer something like Elasticsearch on top of it, but then you lose all the graph support.<p>Any thoughts on enforcing schemas?
评论 #11325915 未加载
edddabout 9 years ago
It has been a while since I&#x27;ve seen so many buzzwords in one HN topic.