January 2018
Intermediate to advanced
336 pages
7h 56m
English
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 a common database, it is easier to share data and maintain consistency using transactions. In a microservices environment, it is not recommended to provide direct access to the database managed by a service, as shown in the following diagram:

For example, when a user places a new order, the Order Service may need access to the delivery address; that is, the user address from the User Service. Similarly, once the order ...
Read now
Unlock full access