-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi-tenancy in memgraph #927
Comments
@ramesh0279 These two sets of 3 node clusters, are they separated into two different data centers? |
No they are in the same data center. The reason for having two clusters is to make it more horizontally scalable. |
Hi @ramesh0279, thank you for asking the question! Based on what you described, I concluded that you need:
Please correct me if I am wrong. Here's what I can say about that:
I would recommend you join our Discord server for more questions 😄 Also, to discuss the second point and how to tweak Memgraph based on your specific use case, please book an office hours call (it will be easier to go over this via call). |
We are deploying on kubernetes. We have modeled each tenant as a separate database. We initially had one cluster with 3 nodes. (1 leader and 2 replicas). We starting seeing performance issues when we scaled up to more than 100 tenants. To solve this, we created another 3 node cluster (1 leader + 2 replicas) to handle newer tenants. The clients connect to only one address and neo4j handles the implicit routing to cluster 1 or cluster 2 depending on the which tenant database you are trying to connect to. Hope I am making sense. One more question is that on WRITE transaction, if we specify ASYNC to improve performance, is there a concept similar to bookmarks where the subsequent read is assured of getting the latest updated write data? Thank you. |
We currently use neo4j and the way we achieve horizontal scalability for our multi-tenant cluster is by
The text was updated successfully, but these errors were encountered: