In a microservices-based architecture, the data model and schema must not be shared among bounded contexts. Each microservice must implement its own data model backed by a database that is accessible only through the service endpoints. Microservices may also publish events that can be considered as a log of the changes the service applies to its isolated database. Keeping application data up to date across microservices may also add to the network overhead and data duplication.
Data management
Direct lookup
Although microservices have their own isolated persistence, an application implemented using microservices may need to share data among a set of services to perform tasks. In a monolithic environment, since there is...