Abstract
This article discusses the problem of data synchronization methods using microservice architecture. Microservices is a popular and widespread software architecture today. The article investigates three main ways of interaction of microservices. They are event-based communication, interaction through direct HTTP requests and messaging, and also highlights and analyzes their advantages and disadvantages. The main purpose of the article is to analyze and make offer of the optimal option for solving the problem of synchronizing interacting microservices in real time. The optimal solution involves using the Apache Kafka message broker. It publishes data streams and subscriptions to them, as well as stores and processes them. Mathematical modeling of the proposed data synchronization method was described by constructing its state macine, as well as a system of canonical equations.
Author supplied keywords
Cite
CITATION STYLE
Sheyanov, N. N., Sinev, M. P., Neshko, D. O., Pashchenko, D. V., Trokoz, D. A., & Martyshkin, A. I. (2024). Methods to synchronize data in a microservice architectur. Scientia Iranica, 31(22), 2088–2095. https://doi.org/10.24200/sci.2022.53164.3088
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.