InterviewSolution
Saved Bookmarks
| 1. |
Is it a good idea to share a common database across multiple microservices? |
|
Answer» In a microservices architecture, each microservice shall own its private DATA which can only be accessed by the outside world through owning service. If we START sharing microservice’s private datastore with other services, then we will violate the principle of Bounded Context. Practically we have three approaches -
|
|