Патерн Event sourcing та його застосування

The article discusses Event sourcing pattern that used in programming distributed systems that require reliable storage of change history and high fault tolerance. It describes the theoretical foundations of the pattern, its architecture, and key components, as well as compares it with other approac...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Datum:2025
Hauptverfasser: Hlybovets, Andrii, Yankin, Ihor
Format: Artikel
Sprache:Ukrainian
Veröffentlicht: V.M. Glushkov Institute of Cybernetics of NAS of Ukraine 2025
Schlagworte:
Online Zugang:https://jais.net.ua/index.php/files/article/view/522
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Назва журналу:Problems of Control and Informatics

Institution

Problems of Control and Informatics
Beschreibung
Zusammenfassung:The article discusses Event sourcing pattern that used in programming distributed systems that require reliable storage of change history and high fault tolerance. It describes the theoretical foundations of the pattern, its architecture, and key components, as well as compares it with other approaches to developing complex software systems. The Event sourcing pattern ensures the preservation of the system’s state through a sequence of events, allowing for effective recovery of previous states and maintaining reliability in scalable solutions. In particular, the article analyzes the use of this approach in companies like Netflix, which ensures high fault tolerance and scalability for their content download platform. The authors emphasize the need for the development of new frameworks to simplify the implementation of the pattern in various programming languages such as .NET, Python, Elixir, Java, and others. It is noted that most existing solutions have limited integration with databases and do not support asynchronous event processing, which restricts their use in demanding systems. Special attention is given to the challenges that arise when using Event sourcing such as the need to store a large number of events, which may increase the volume of data, and the inability to edit past records. The article also highlights the importance of evaluating the advantages and difficulties of applying the pattern before its implementation in real projects. The pattern works well with other architectural practices such as CQRS and DDD and can be used to optimize data management and business processes in complex software solutions. The result of the research is a comprehensive analysis of the use of the pattern for effective event handling in software projects, which significantly improves the quality, reliability, flexibility, and scalability of the developed software.