Skip to main content

Data Management

  • Chapter
  • First Online:
Microservices for the Enterprise

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.youtube.com/watch?v=xDuwrtwYHu8

  2. 2.

    https://www.cs.cornell.edu/andru/cs711/2002fa/reading/sagas.pdf

  3. 3.

    https://redis.io/

  4. 4.

    http://www.ehcache.org/

  5. 5.

    https://hazelcast.org/

  6. 6.

    http://www.oracle.com/technetwork/middleware/coherence/overview/index.html

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Kasun Indrasiri and Prabath Siriwardena

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics