[Paper Review] Data Management in Microservices: State of the Practice, Challenges, and Research Directions
This paper investigates data management in microservices through a mixed-methods study combining literature review, open-source analysis, and a survey of 120+ practitioners. It identifies critical challenges like cross-service consistency and lack of system-level support, and proposes a set of nine foundational features for microservice-oriented database systems to enable holistic, application-aware data management that reduces developer burden and improves reliability.
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.
Motivation & Objective
- To understand the current state of data management practice in microservices through empirical investigation.
- To identify recurring challenges practitioners face that cannot be solved by software engineering alone.
- To analyze shortcomings of existing database systems in supporting microservice-specific data management needs.
- To define a set of essential features for microservice-oriented database systems that enable application-aware, consistent, and scalable data handling.
- To bridge the gap between application-level data management logic and database system capabilities through new abstractions and system-level integration.
Proposed method
- Conducted a systematic literature review of 300 peer-reviewed articles, selecting 10 representative studies on microservice adoption.
- Analyzed a set of popular open-source microservice applications to observe real-world data management patterns and technologies.
- Administered an online survey to 120+ experienced practitioners and researchers to validate findings and gather perceptions on data management challenges.
- Identified recurring data management problems such as cross-service consistency, schema evolution, and lack of holistic query support.
- Proposed nine key features (F1–F9) for microservice-oriented database systems, emphasizing application-awareness, event-driven consistency, and cross-service transaction modeling.
- Explored two architectural paths: extending stateful middle-tier abstractions (e.g., virtual actors) and integrating database components into the application tier to expose dataflow semantics to the DBMS.
Experimental results
Research questions
- RQ1What are the dominant data management patterns and technologies used in real-world microservice applications?
- RQ2What are the primary challenges practitioners face in managing data across microservices, particularly regarding consistency and data exchange?
- RQ3How do existing database systems fall short in supporting the unique data management needs of microservices?
- RQ4What system-level features are required for a database system to natively support microservice architectures?
- RQ5How can database systems gain awareness of application-level data management logic to reduce developer burden?
Key findings
- Practitioners commonly use polyglot persistence, but lack standardized approaches for cross-service data consistency, leading to ad-hoc, error-prone solutions.
- Existing database systems do not support consistent, holistic queries across multiple microservice states, especially when data is distributed across different databases and schemas.
- Application-level data management logic—such as event-driven constraints and distributed transactions—is often opaque to the database system, creating an impedance mismatch.
- The lack of system-level support for microservice data management leads to complex, fragile, and hard-to-maintain implementations that cannot be resolved by code refactoring alone.
- The proposed nine features (F1–F9) address core challenges such as cross-microservice consistency, event-based constraints, and application-aware data modeling, enabling more reliable and manageable data management.
- Two architectural paths—extending stateful abstractions and integrating database components into the application tier—are identified as essential for enabling database systems to understand and enforce complex data management logic across services.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.