A Real-time Data Synchronization Approach for High-availability Micro Applications

Resumo


The Microservice Architecture (MSA) and the Micro Frontend Architecture (MFA) are scalable, flexible, and innovative architectures for developing micro applications (MApps). The integration of these architectures optimizes development by leveraging the strengths of both architectural styles, enabling decoupled deployment, specialized domain teams, isolated failures, scalability, and software maintenance. To the best of our knowledge, the engineering of applications based on MFA poses significant challenges, as practitioners encounter difficulties because of the dependency generated between MApps. This dependency arises from the data sharing between microservice-based applications. In a real-world execution scenario, such applications require substantial data volumes and distributed databases across microservices. While the microservices are designed to communicate via a network using lightweight communication protocols, the data interchange is relatively slow compared to the database communication. Based on the presented context, this paper proposes a real-time data synchronization approach to address the limitations of MApps development concerning communication and data replication. In order to evaluate the applicability, strengths, and weaknesses of the proposed approach, a proof of concept was conducted for a condominium management system. As a result, the evidence gathered in this paper enables us to create a favorable perspective to contribute efficiently to the MApps domain by providing an approach to this research area and an empirical evaluation for researchers and practitioners.

Palavras-chave: Micro frontend, microservice, data replication, communication

Referências

Apache. 2025. Apache Kafka. on-line. Avaliable in [link], accessed on September 4, 2025.

Artem Bashtovyi and Andriy Fechan. 2023. Change Data capture for migration to event-driven microservices Case Study. In The 18th International Conference on Computer Science and Information Technologies (CSIT). IEEE, Lviv, Ukraine, 1–4. DOI: 10.1109/CSIT61576.2023.10324262

Yan Bian, Dechao Ma, Qing Zou, andWeirui Yue. 2022. A Multi-way Access Portal Website Construction Scheme. In The 5th International Conference on Artificial A Real-time Data Synchronization Approach for High-availability Micro Applications Intelligence and Big Data, ICAIBD 2022. Institute of Electrical and Electronics Engineers Inc., Chengdu, China, 589 – 592. DOI: 10.1109/ICAIBD55127.2022.9820236

Harry Chandra. 2018. Analysis of Change Data Capture Method in Heterogeneous Data Sources to Support RTDW. In The 4th International Conference on Computer and Information Sciences (ICCOINS). IEEE, Kuala Lumpur, Malaysia, 1–6. DOI: 10.1109/ICCOINS.2018.8510574

Confluent. 2025. Kafka Connect. on-line. Avaliable in [link], accessed on September 4, 2025.

Fernando Rodrigues de Moraes, Daniel de Almeida, and Frank José Affonso. 2025. A Real-time data synchronization approach for high-availability micro applications. DOI: 10.5281/zenodo.17053719

Debezium. 2025. Debezium Stream changes from your database. on-line. Avaliable in [link], accessed on September 4, 2025.

Nicola Dragoni, Saverio Giallorenzo, Alberto Lluch Lafuente, Manuel Mazzara, Fabrizio Montesi, Ruslan Mustafin, and Larisa Safina. 2017. Microservices: Yesterday, Today, and Tomorrow. In Present and Ulterior Software Engineering, Manuel Mazzara and Bertrand Meyer (Eds.). Springer International Publishing, Cham, 195–216. DOI: 10.1007/978-3-319-67425-4_12

Michael Geers. 2020. Micro frontends in action. Manning Publications, New York, NY.

Fikri Muhaffizh Imani, Yohana Dewi Lulu Widyasari, and Satria Perdana Arifin. 2023. Optimizing Extract, Transform, and Load Process Using Change Data Capture. In The 6th International Seminar on Research of Information Technology and Intelligent Systems (ISRITI). IEEE, Batam, Indonesia, 266–269. DOI: 10.1109/ISRITI60336.2023.10468009

Cam Jackson. 2019. Micro Frontends. on-line. Avaliable in [link], accessed on September 4, 2025.

Anja Kapikul, Dušan Savić, Miloš Milić, and Ilija Antović. 2024. Application Development From Monolithic to Microservice Architecture. In The 28th International Conference on Information Technology (IT). IEEE, Zabljak, Montenegro, 1–4. DOI: 10.1109/IT61232.2024.10475769

Justas Kazanavičius and Dalius Mažeika. 2023. The Evaluation of Microservice Communication While Decomposing Monoliths. Computing and Informatics 42, 1 (May 2023), 1–36. DOI: 10.31577/cai_2023_1_1

James Lewis and Martin Fowler. 2014. Microservices. on-line. [link], acessed on September 4, 2025.

MariaDB Foundation. 2025. MariaDB Server: the innovative open source database. on-line. Avaliable in [link], accessed on September 4, 2025.

MongoDB. 2025. MongoDB. on-line. Avaliable in [link], accessed on September 4, 2025.

MongoDB. 2025. Replica Set Oplog. on-line. Avaliable in [link], accessed on September 4, 2025.

Fernando Rodrigues Moraes and Frank José Affonso. 2024. A New Integration Approach to Support the Development of Build-time Micro Frontend Architecture Applications. In Proceedings of the XXXVIII Brazilian Symposium on Software Engineering (Curitiba, Brazil) (SBES ’24). Association for Computing Machinery, New York, NY, USA, 1–7.

Fernando Rodrigues Moraes, Gabriel Nagassaki Campos, Nathalia Rodrigues Almeida, and Frank José Affonso. 2024. Micro Frontend-Based Development: Concepts, Motivations, Implementation Principles, and an Experience Report. In The Proceedings of the 26th International Conference on Enterprise Information Systems. INSTICC, SciTePress, Angers, France, 175–184. DOI: 10.5220/0012627300003690

Neha Narkhede, Gwen Shapira, and Todd Palino. 2017. Kafka: The Definitive Guide Real-Time Data and Stream Processing at Scale (1st ed.). O’Reilly Media, Inc., Unavaliable.

Oracle. 2025. Java. on-line. Avaliable in [link], accessed on September 4, 2025.

Severi Peltonen, Luca Mezzalira, and Davide Taibi. 2021. Motivations, benefits, and issues for adopting Micro-Frontends: A Multivocal Literature Review. Information and Software Technology 136 (2021), 106571. DOI: 10.1016/j.infsof.2021.106571

Kevin Petrie, Dan Potter, and Itamar Ankorion. 2018. Streaming change data capture: A foundation for modern data architectures. O’Reilly Media, Newton, Massachusetts, EUA.

PostegreSQL. 2025. PostgreSQL: The World’s Most Advanced Open Source Relational Database. on-line. Avaliable in [link], accessed on September 4, 2025.

PostgreSQL. 2025. Write-Ahead Logging (WAL). on-line. Avaliable in [link], accessed on September 4, 2025.

Redis. 2025. Introduction to Redis streams. on-line. Avaliable in [link], accessed on September 4, 2025.

Redis. 2025. Redis. on-line. Avaliable in [link], accessed on September 4, 2025.

Chris Richardson. 2018. Microservices Patterns. Manning Publications, New York, NY.

Chris Richardson. 2025. Variation: Backends for frontends. on-line. Avaliable: [link], acessed on September 4, 2025.

Ritu, Shruti Arora, Aanshi Bhardwaj, Ashima Kukkar, and Sawinder Kaur. 2024. A Comparative Analysis of Communication Efficiency: REST vs. gRPC in Microservice-Based Ecosystems. In International Conference on Emerging Innovations and Advanced Computing (INNOCOMP). IEEE, Sonipat, India, 621–626. DOI: 10.1109/INNOCOMP63224.2024.00107

Dharmendra Shadija, Mo Rezai, and Richard Hill. 2017. Towards an understanding of microservices. In 2017 23rd International Conference on Automation and Computing (ICAC). IEEE, Huddersfield, UK, 1–6. DOI: 10.23919/IConAC.2017.8082018

Antonin Smid, Ruolin Wang, and Tomas Cerny. 2019. Case study on data communication in microservice architecture. In Proceedings of the Conference on Research in Adaptive and Convergent Systems (Chongqing, China) (RACS ’19). Association for Computing Machinery, New York, NY, USA, 261–267. DOI: 10.1145/3338840.3355659

Antonin Smid, Ruolin Wang, and Tomas Cerny. 2019. Case study on data communication in microservice architecture. In The Proceedings of the Conference on Research in Adaptive and Convergent Systems (Chongqing, China) (RACS ’19). Association for Computing Machinery, New York, NY, USA, 261–267. DOI: 10.1145/3338840.3355659

Srijith, Karan Bantia R, Govardhan N, and Anala M R. 2022. Inter-Service Communication among Microservices using Kafka Connect. In The 13th International Conference on Software Engineering and Service Science. IEEE, Beijing, China, 43–47. DOI: 10.1109/ICSESS54813.2022.9930270

Davide Taibi, Valentina Lenarduzzi, and Claus Pahl. 2017. Processes, Motivations, and Issues for Migrating to Microservices Architectures: An Empirical Investigation. IEEE Cloud Computing 4, 5 (2017), 22–32. DOI: 10.1109/MCC.2017.4250931

VMWare Tanzu. 2025. Spring Boot. on-line. Avaliable in [link], accessed on September 4, 2025.

Sidath Weerasinghe and Indika Perera. 2022. Evaluating the Inter-Service Communication on Microservice Architecture. In The 7th International Conference on Information Technology Research (ICITR). IEEE, Moratuwa, Sri Lanka, 1–6. DOI: 10.1109/ICITR57877.2022.9992918

SidathWeerasinghe and Indika Perera. 2023. Optimized Strategy for Inter-Service Communication in Microservices. International Journal of Advanced Computer Science and Applications 14, 2 (FEB 2023), 272–279.

Lei Zhang, Ke Pang, Jiangtao Xu, and Bingxin Niu. 2023. High performance microservice communication technology based on modified remote procedure call. Scientific Reports 13 (07 2023). DOI: 10.1038/s41598-023-39355-4
Publicado
22/09/2025
MORAES, Fernando R. de; ALMEIDA, Daniel de; AFFONSO, Frank J.. A Real-time Data Synchronization Approach for High-availability Micro Applications. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SOFTWARE (SBES), 39. , 2025, Recife/PE. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2025 . p. 215-225. ISSN 2833-0633. DOI: https://doi.org/10.5753/sbes.2025.9904.