Database design is rapidly evolving, and there are numerous hurdles to overcome while developing a microservices-based solution. Database architecture is one of the most important aspects of microservice
What is the best way to store data and where should it be stored?
There should are two main options for organizing the databases when using the microservice architecture.
Database per service
Shared database