July 2017
Intermediate to advanced
414 pages
11h 18m
English
In principle, microservices should abstract presentation, business logic, and data store. If the services are broken as per the guidelines, each microservice logically could use an independent database.
The following diagram shows order and product microservices sharing a single database:

In the preceding diagram, both Product and Order microservices share one database and a shared data model. Shared data models, shared schemas, and shared tables are recipes for disasters when developing microservices. These may be good at the beginning, but when developing complex microservices, we tend to add relationships ...
Read now
Unlock full access