我的项目需要图形数据库。我想对图进行最短路径操作。我搜索了谷歌,找到了 neo4j、InfoGrid 和 sones。我不确定哪一个表现最好。
Neo4j 也坚持读取查询的事务,所以我担心它会导致延迟。我想要高性能图形数据库引擎。如果它也能支持最短路径,那就太棒了。
最佳答案
我同意 @Reinderien ,你应该换这些产品。但我还要添加 OrientDB在组合中。在 this comment 中引用其作者:
I'm working to OrientDB. It's a NoSQL hybrid document-graph dbms with special operators for graph operations. The main difference is that you can query it using SQL language with some extension like:
select from People where friends TRAVERSE(1,7) (name = 'Ayende' and surname = 'Rahien')
This means get all the people that have any relationship of friends with you up to the 7th level of separation.
根据其网站,性能看起来相当不错。至少值得一看。
关于java - 开源图数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3735591/