Fault Tolerant Central Saga Orchestrator in RESTful Architecture
Konstantin Malyuga, Olga Perl, Aleksandr Slapoguzov, Перл Иван Андреевич · 2020
Microservices RESTful architecture is almost a standard for e-commerce web applications today. It brings domain isolation, development and support independence. In the same time it increases complexity of cross-domain interactions. The case when distributed changes should not break consistency of microservice states is one of challenging task that might appear during development of such systems. Defining sagas in central orchestrator that performs changes in microservices one by one and controls compensations in case if failure occurs is one of the well-known approaches today. It solves the problem of consistency but creates new vulnerable area in fault tolerant environment. Usage of saga cluster and additional optimizations of its structure are modeled, evaluated and proposed in this paper. Provided fault tolerant solution with improved time and memory characteristics.