Is it possible to split the database? #12639
Unanswered
prakhar-perennial
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Yes, it's possible to implement a database-per-service model in Medusa.
Create separate Medusa instances for each domain (e.g., Products, Orders, Customers) Based on analysis of Medusa's worker mode and module architecture in I can say that the config-module.ts and medusa-app.ts show how services can be isolated. Each service can have its own:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to build a system that will connect to multiple other systems and occasionally, heavy bursts of traffic is expected. For the sake of stability and performance, I would like to go with a database per service model where every worker will serve just one domain. Is it possible to have that kind of deployment where I can have something like a "Product worker" with its own product database so I can scale only the workers that needs scaling?
Beta Was this translation helpful? Give feedback.
All reactions