问题描述
在neo4j中实现多租户的最佳方法是什么?
我看过Tinkerpop和Spring Data.
我有多个客户端,我想将客户端信息存储在其自己的数据库中以确保安全性.
我不想使用标签或索引来解决此问题.
您提到您看过TinkerPop",但我无法确定这是否意味着您已经看过,考虑并拒绝了它作为解决方案在这里,如果是这种情况,我们深表歉意,而我没有回答您的问题.
我已经成功使用 PartitionStrategy (以前是),以在Neo4j(和其他图形数据库)中实现多租户. >
您可以在此博客文章关于这个主题.
What is the best way to achieve multi-tenancy in neo4j?
I have seen Tinkerpop and Spring Data.
I'm have multiple clients and I would like to store client info in its own database to ensure security.
I do not want to use labels or indexes to solve this problem.
You mention that you've "seen TinkerPop" but I couldn't tell if that meant you've seen it, considered it and dismissed it as a solution here, so apologies if that is the case and I'm not answering your question.
I've successfully used PartitionStrategy (formerly PartitionGraph) from TinkerPop to achieve multi-tenancy in Neo4j (and other graph databases).
You can read more about the approach here in this blog post on the subject.
这篇关于Neo4j多租户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!