Neo4j Multi-tenancy

左心房为你撑大大i 提交于 2019-12-22 05:03:15

问题


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.


回答1:


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.




回答2:


Neo4j does not support multi-tenant deployments at this time. You can run multiple instances on the same server, each one on a different port.

Alternatively, you can use a managed hosting service like GrapheneDB, which provides secure independent instances. Disclaimer: I work at GrapheneDB.



来源:https://stackoverflow.com/questions/25927262/neo4j-multi-tenancy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!