Координація мікросервісів із використанням машин станів

dc.contributor.authorОлецький, Олексійuk_UA
dc.contributor.authorМоголівський, Віталійuk_UA
dc.date.accessioned2025-05-21T11:43:14Z
dc.date.available2025-05-21T11:43:14Z
dc.date.issued2024
dc.descriptionThe article describes the use of state machines to coordinate microservices. The lack of well-developed microservice coordination tools presents a significant number of challenges for developers building applications with a microservice architecture. Among these challenges are the difficulty of managing multiple services and their distributed execution flow, the lack of transparency in monitoring and debugging, complications in testing, and other issues. These challenges can be addressed by utilizing state machines. State machines serve as an abstraction to control the distributed execution flow of a program in a microservice architecture. This approach simplifies working with parallel execution flows and long-running background tasks. It also improves process transparency, as well as monitoring, visualization, testing, and debugging. Integration with a message broker and adequate long-term state storage has been implemented to use state machines in a microservice environment. The paper describes the developed library, which connects three key components required for the effective functioning of state machines within microservices. These components include the XState implementation of the state machine, the Kafka message broker, and the ArangoDB multi-model database. Additionally, a prototype has been created to illustrate the usage of the developed library for a number of typical tasks. The prototype showcases the process of deleting data in accordance with GDPR regulations. The proposed approach simplifies the development of execution logic in a microservice application, specifically by facilitating and organizing the management of parallel execution flows and long-running background tasks. In addition, it improves process transparency in the microservice architecture, namely in monitoring, visualization, testing, and debugging.en_US
dc.description.abstractУ статті розглянуто підхід до координації мікросервісів на основі використання машин станів як абстракції для управління розподіленим потоком виконання програми з мікросервісною архітектурою. Реалізовано прототип бібліотеки, загальну архітектуру і принципи роботи якого описано в статті.У разі застосування описаного підходу полегшується та упорядковується робота з паралельними потоками виконання і довготривалими фоновими задачами. Крім того, покращується прозорість процесів, що полегшує їх моніторинг, візуалізацію, тестування і відлагодження. Для використання машин станів у мікросервісному середовищі реалізовано інтеграцію з брокером повідомлень і належне довготривале зберігання їхнього стану.uk_UA
dc.identifier.citationОлецький О. В. Координація мікросервісів із використанням машин станів / Олецький О. В., Моголівський В. О. // Наукові записки НаУКМА. Комп'ютерні науки. - 2024. - Т. 7. - С. 4-10. - https://doi.org/10.18523/2617-3808.2024.7.4-10uk_UA
dc.identifier.issn2617-3808
dc.identifier.issn2617-7323
dc.identifier.urihttps://doi.org/10.18523/2617-3808.2024.7.4-10
dc.identifier.urihttps://ekmair.ukma.edu.ua/handle/123456789/34794
dc.language.isoukuk_UA
dc.relation.sourceНаукові записки НаУКМА. Комп'ютерні науки. Том 7uk_UA
dc.statusfirst publisheduk_UA
dc.subjectмікросервісна архітектураuk_UA
dc.subjectмашини станівuk_UA
dc.subjectкоординація мікросервісівuk_UA
dc.subjectподійно-орієнтований підхідuk_UA
dc.subjectуправління потоком виконанняuk_UA
dc.subjectмоніторинг мікросервісівuk_UA
dc.subjectвізуалізація мікросервісівuk_UA
dc.subjectтестування мікросервісівuk_UA
dc.subjectстаттяuk_UA
dc.subjectmicroservice architectureen_US
dc.subjectstate machinesen_US
dc.subjectcoordination of microservicesen_US
dc.subjectevent-oriented approachen_US
dc.subjectexecution flow managementen_US
dc.subjectmonitoring of microservicesen_US
dc.subjectvisualization of microservicesen_US
dc.subjecttesting of microservicesen_US
dc.titleКоординація мікросервісів із використанням машин станівuk_UA
dc.title.alternativeCoordination of Microservices Using State Machinesen_US
dc.typeArticleuk_UA
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Oletskyi_Koordynatsiia_mikroservisiv_iz_vykorystanniam_mashyn_staniv.pdf
Size:
1.43 MB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: