TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Cayley – An open-source graph database

203 点作者 iamjeff大约 8 年前

13 条评论

barakm大约 8 年前
Maintainer here, good to see Cayley on HN again :)<p>We&#x27;ve got a lot of new features on master, (GraphQL support, Gephi interfaces, Recursive iterators, etc) and are cutting a release next week.<p>Active work in the coming releases on tightening down the indexing and really bringing it into prod.<p>EDIT: Feel free to join the new Slack or the Discourse mailing list&#x2F;discussion board!
评论 #14068357 未加载
评论 #14069083 未加载
评论 #14069248 未加载
评论 #14069452 未加载
评论 #14067991 未加载
sverhagen大约 8 年前
We have Elasticsearch as a generic document search engine, each document has a non-trivial amount of properties (let&#x27;s say 50 or so). It&#x27;s incredibly performant for all sort of searches, the details of each of which this solution wasn&#x27;t specifically designed for, hence me calling it a <i>generic</i> search engine. Every time I contemplate of bringing graph relationships, that exist between these documents, into the mix, I get stuck. Elasticsearch doesn&#x27;t quite do graph (natively), but the graph databases I tried don&#x27;t do properties too well (OrientDB, Neo4J). I&#x27;m not talking about one or two properties, but multiple properties across multiple hops in the graph that I envision querying for. Let alone full text searches. I emailed back and forth with the helpful folks at Orient, but it always came down to optimising for specific queries, gone the &quot;generic&quot;. Is anyone solving that problem? Cayley?
评论 #14070976 未加载
评论 #14070345 未加载
评论 #14074182 未加载
评论 #14071923 未加载
评论 #14070955 未加载
jnordwick大约 8 年前
What exactly is this? The GitHub page speaks of different backends, and those appear to just be databases or key-value stores in themselves (e.g, Postgres and Bolt).<p>Is Cayley basically a query rewritter, that is it has some tables in the backend and when queried, Cayley then goes to the &quot;real&quot; (for lack of a better word) database? Cayley&#x27;s query language might be more full featured, but it isn&#x27;t a storage mechanism in itself?<p>There are two things from that:<p>1. There is no way for Cayley to take the graph structure of the data into account when laying it out on disk or when executing the query. Is this the long-term decision, or is this just a stop-gap until a storage mechanism can be done?<p>2. This would seem to imply that the abstraction layer from Cayley to the backend storage would be relatively slim. How difficult is it to add another storage driver for another SQL database or for one with a custom query language?<p>Another thing I noticed:<p>&gt; query -- films starring X and Y -- takes ~150ms<p>Even on two year old hardware that seems dog slow - less than 7 queries a second - for a very simple query.
评论 #14070838 未加载
评论 #14070010 未加载
ceyhunkazel大约 8 年前
Good work! An alternative is Dgraph <a href="https:&#x2F;&#x2F;dgraph.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;dgraph.io&#x2F;</a> which I am considering for my next project.
评论 #14072330 未加载
zmanian大约 8 年前
Here are my experiences with Cayley. 100% positive for building graph microservices.<p>1. Use Cayley as a library 2. Put metadata in separate nodes.
评论 #14070841 未加载
badtuple大约 8 年前
Anyone use Cayley in prod? An old job used Neo4j, and the graph concept was great for specific use cases. As a lightweight graph store, Cayley was really exciting when it came out, but I haven&#x27;t had a need for it since I left that job. It strikes me as really well made, and I&#x27;d love to hear any war stories.
评论 #14069144 未加载
fiatjaf大约 8 年前
I can&#x27;t understand how to use the query language. It all seems so magical!<p>I tried building something with Cayley once but couldn&#x27;t fetch all the data I wanted in a single query, or didn&#x27;t know how to, then got frustrated and deleted everything.
评论 #14068428 未加载
评论 #14069788 未加载
wut42大约 8 年前
Very nice! any plans to use it as a backend for google&#x27;s badwolf[1] (a temporal graph store)?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;badwolf" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;badwolf</a>
评论 #14068670 未加载
guillem_lefait大约 8 年前
Being on HN while doc is lorem ipsum (<a href="https:&#x2F;&#x2F;cayley.io&#x2F;1-getting-started&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cayley.io&#x2F;1-getting-started&#x2F;</a>), damned !
评论 #14068566 未加载
jraedisch大约 8 年前
There is an asterisk in the docs behind &quot;inspired&quot; but no footnote for it. What does it mean?
d0vs大约 8 年前
Can anyone give concrete examples of datasets that are better suited for a graph database and why?
评论 #14069640 未加载
schemathings大约 8 年前
Any screenshots of the visualizer?
frik大约 8 年前
How matured is it? Has someone used it for big datasets? Last time I tried it wasn&#x27;t ready to cope with a 250 GB N-Triples RDF. (two years ago)
评论 #14069157 未加载
评论 #14067935 未加载