Abstract
In most business services, the service logic is built on top of an underlying persistent layer. Often a database is used as the persistent layer and it is acting as the system of record for a given service. As we’ve discussed, microservices are built as autonomous entities and should have control over the data layer that they operate on. This essentially means that microservices cannot depend on a data layer that is owned by or shared by another entity. So, in the process of building autonomous services, it is also required to have an isolated persistent layer for each microservice. In this chapter, we discuss the commonly used patterns and best practices for transforming centralized or shared database-based enterprise applications to microservices that are based on decentralized databases.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Kasun Indrasiri and Prabath Siriwardena
About this chapter
Cite this chapter
Indrasiri, K., Siriwardena, P. (2018). Data Management. In: Microservices for the Enterprise. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3858-5_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3858-5_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3857-8
Online ISBN: 978-1-4842-3858-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)