Answer the question
In order to leave comments, you need to log in
How to share application code in microservices?
There is a project that implements the logic of working with the database (repository).
There is a desire to divide the project into microservices (let's say 20 separate services).
How should feng shui work, only one project with a database or everyone can work in a database?
If everyone can, then chain the entire repository to each microservice? Or should each microservice have its own mini repository? If everyone has their own, and there are repeated requests, should they be repeated, or is this also taken out somehow?
Answer the question
In order to leave comments, you need to log in
In short, the microservices architectural style is an approach in which a single application is built as a set of small services, each of which runs in its own process and communicates with the others using lightweight mechanisms, usually HTTP. These services are built around business needs and are deployed independently using a fully automated environment. There is an absolute minimum of centralized management of these services. By themselves, these services can be written in different languages and use different data storage technologies.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question