Articles
| Open Access | THE CHRONICLE OF CONSEQUENCE: LEVERAGING EVENT SOURCING AND HIGH-THROUGHPUT STREAMING FOR ULTRA-LOW LATENCY RISK PROFILING
Thao Nguyen , Faculty of Information Technology Hanoi University of Science and Technology Hanoi, Vietnam Doan Son Tung , Faculty of Information Technology Hanoi University of Science and Technology Hanoi, VietnamAbstract
Purpose: This paper investigates the architectural and analytical benefits of leveraging Apache Kafka for implementing Event Sourcing principles to achieve ultra-low latency, real-time risk profiling in complex financial institutions. The study addresses a critical gap in the literature concerning the architectural underpinnings required for capturing event causality and immutability, which are fundamental to modern compliance and risk attribution.
Design/Methodology/Approach: A high-throughput, distributed Event Sourcing architecture was designed and implemented using Kafka as the immutable log and stream-processing engine. The Real-Time Risk Profiling Model (RTRP-M) was developed on Kafka Streams to perform continuous, stateful aggregation of simulated high-volume financial events. Performance metrics focused on end-to-end latency, throughput under stress, and State Reconstruction Time (S-RT).
Findings: The implemented architecture demonstrates sustained ingestion throughput exceeding $10^5$ events per second, with a mean end-to-end latency for risk metric calculation of less than 10 milliseconds. Notably, the system exhibited instantaneous S-RT capabilities, enabling the reconstruction of entity state at any historical moment, which is critical for back-testing and audit trails. The findings are associated with significantly enhanced capabilities for real-time anomaly detection and risk attribution compared to traditional batch-oriented systems.
Originality/Value: This work systematically connects the architectural paradigm of Event Sourcing with the analytical requirements of complex, adaptive risk management. It provides a blueprint for financial technology practitioners seeking to transition to a true real-time operational posture, demonstrating how the fundamental properties of the distributed log are paramount to achieving both compliance and competitive advantage.
Keywords
Event Sourcing, Apache Kafka, Real-Time Risk Analysis
References
J. Kreps, N. Narkhede, and J. Rao, “Kafka: A Distributed Messaging System for Log Processing,” in Proceedings of the NetDB, Athens, Greece, 2011.
Kesarpu, S., & Hari Prasad Dasari. (2025). Kafka Event Sourcing for Real-Time Risk Analysis. International Journal of Computational and Experimental Science and Engineering, 11(3). https://doi.org/10.22399/ijcesen.3715
M. Fowler, “Event Sourcing,” martinfowler.com, 2005. Available: https://martinfowler.com/eaaDev/EventSourcing.html
S. J. Russell and P. Norvig, Artificial Intelligence: A Modern Approach, 3rd ed. Prentice Hall, 2010.
G. Young, “CQRS and Event Sourcing,” 2010. Available: https://cqrs.wordpress.com/
T. Akidau et al., “The Dataflow Model: A Practical Approach to Balancing Correctness, Latency, and Cost in Massive-Scale, Unbounded, Out-of-Order Data Processing,” in Proceedings of the VLDB Endowment, 2015.
Ashutosh Chandra Jha. (2025). DWDM Optimization: Ciena vs. ADVA for <50ms Global finances. Utilitas Mathematica, 122(2), 227–245. Retrieved from https://utilitasmathematica.com/index.php/Index/article/view/2713
Sardana, J., & Mukesh Reddy Dhanagari. (2025). Bridging IoT and Healthcare: Secure, Real-Time Data Exchange with Aerospike and Salesforce Marketing Cloud. International Journal of Computational and Experimental Science and Engineering, 11(3). https://doi.org/10.22399/ijcesen.3853
Article Statistics
Downloads
Copyright License
Copyright (c) 2025 Thao Nguyen, Doan Son Tung

This work is licensed under a Creative Commons Attribution 4.0 International License.