Query strategies on polyglot persistence in microservices
Abstract
Organizations have to quickly leverage both internal and external capabilities to survive and compete in the current world, using all possible resources to effectively solve their problems. In a microservice architecture, solutions are built through collaboration with external and internal parties, who promote distributed services across networks. An issue in this scenario is to query data across multiple services, within or beyond the organization. As an example, a single report may correlate information from services that deal with specific data sources such as graph, XML, document-oriented and relational databases - configuring a polyglot persistence setting. This work characterizes and analyzes available solutions to query data in a microservice architecture, based on academia and industry. Strengths and weaknesses of the solutions are provided, according to relevant software quality characteristics based on ISO 25010 model, aiming to guide efforts on future researches.