Polyglot Persistence in Microservices: Managing Data Diversity in Distributed Systems

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Halili, Festim, Nuhiji, Anila, Veliu, Diellza Mustafai
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918138352762880
author Halili, Festim
Nuhiji, Anila
Veliu, Diellza Mustafai
author_facet Halili, Festim
Nuhiji, Anila
Veliu, Diellza Mustafai
contents Microservices architectures have become the foundation for developing scalable and modern software systems, but they also bring significant challenges in managing heterogeneous and distributed data. The pragmatic solution is polyglot persistence, the deliberate use of several different database technologies adapted to a given microservice requirement - is one such strategy. This paper examines polyglot persistence in microservice based systems. This paper brings together theoretical concepts with evidence from practical implementations and comparative benchmarks of standard database platforms. A comparative framework is applied to relational, document, key-value, column-family and graph databases to assess scalability, consistency, query expressiveness, operational overhead and integration ease. Empirical data drawn from industry case studies such as Netflix, Uber, and Shopify, and survey data illustrate real-life adoption trends and challenges. These findings demonstrate that polyglot persistence increases adaptability , performance , domain alignment but also governance or operational complexity. To cope with such trade-offs, architectural patterns such as saga workflows, event sourcing, and outbox integration are discussed.
format Preprint
id arxiv_https___arxiv_org_abs_2509_08014
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Polyglot Persistence in Microservices: Managing Data Diversity in Distributed Systems
Halili, Festim
Nuhiji, Anila
Veliu, Diellza Mustafai
Databases
Microservices architectures have become the foundation for developing scalable and modern software systems, but they also bring significant challenges in managing heterogeneous and distributed data. The pragmatic solution is polyglot persistence, the deliberate use of several different database technologies adapted to a given microservice requirement - is one such strategy. This paper examines polyglot persistence in microservice based systems. This paper brings together theoretical concepts with evidence from practical implementations and comparative benchmarks of standard database platforms. A comparative framework is applied to relational, document, key-value, column-family and graph databases to assess scalability, consistency, query expressiveness, operational overhead and integration ease. Empirical data drawn from industry case studies such as Netflix, Uber, and Shopify, and survey data illustrate real-life adoption trends and challenges. These findings demonstrate that polyglot persistence increases adaptability , performance , domain alignment but also governance or operational complexity. To cope with such trade-offs, architectural patterns such as saga workflows, event sourcing, and outbox integration are discussed.
title Polyglot Persistence in Microservices: Managing Data Diversity in Distributed Systems
topic Databases
url https://arxiv.org/abs/2509.08014