Data management in microservices

Rodrigo Laigner, Yongluan Zhou, Marcos António Vaz Salles, Yijian Liu, Marcos Kalinowski

Proceedings of the VLDB Endowment · 2021 · 70 citations · 46 references

DOIFull text

Open access

Concepts

TL;DR

Microservices are a popular architectural style that decomposes applications into autonomous services for scalability and specialized databases, yet there is a lack of systematic study on the data‑management challenges faced by practitioners. The study aims to fill this gap by systematically reviewing literature, analyzing popular open‑source microservice applications, and surveying more than 120 experienced practitioners and researchers. We performed a systematic literature review, analyzed popular open‑source microservice applications, and surveyed over 120 practitioners and researchers to gather evidence. We identified foundational data‑management challenges in microservices that require system‑level support, highlighted shortcomings of current database systems, and proposed a set of features for microservice‑oriented databases.

Abstract

Microservices have become a popular architectural style for data-driven applications, given their ability to functionally decompose an application into small and autonomous services to achieve scalability, strong isolation, and specialization of database systems to the workloads and data formats of each service. Despite the accelerating industrial adoption of this architectural style, an investigation of the state of the practice and challenges practitioners face regarding data management in microservices is lacking. To bridge this gap, we conducted a systematic literature review of representative articles reporting the adoption of microservices, we analyzed a set of popular open-source microservice applications, and we conducted an online survey to cross-validate the findings of the previous steps with the perceptions and experiences of over 120 experienced practitioners and researchers. Through this process, we were able to categorize the state of practice of data management in microservices and observe several foundational challenges that cannot be solved by software engineering practices alone, but rather require system-level support to alleviate the burden imposed on practitioners. We discuss the shortcomings of state-of-the-art database systems regarding microservices and we conclude by devising a set of features for microservice-oriented database systems.

References

46