Research Article

An Explainable AI Approach for Identifying Performance Bottlenecks in Distributed Stream Processing Systems using Causal Inference and System Call Tracing

14 reads
SCI J Softw Eng Cloud Comp, 2026, 1 (1), 27-33, doi: , ISSN

Abstract

Distributed stream processing systems (DSPSs) such as Apache Flink and Apache Spark Streaming serve as foundational infrastructure for real-time analytics in modern cloud environments. However, diagnosing intermittent performance bottlenecks—such as transient backpressure cascades, JVM garbage collection pauses, and network socket contention—remains notoriously challenging due to non-linear cross-layer interactions. Traditional machine learning models often detect anomalies based on statistical correlations, yielding uninterpretable alarms and misleading causal attributions. In this paper, we propose CausalTrace, an explainable artificial intelligence framework that integrates lightweight extended Berkeley Packet Filter (eBPF) system call tracing with structural causal modeling to accurately isolate and explain root causes of DSPS degradation. By capturing kernel-level thread scheduling, memory allocation, and socket I/O events with sub-2% runtime overhead, CausalTrace constructs dynamic causal directed acyclic graphs using a time-series constraint-based discovery algorithm. It then applies Shapley-valued causal attribution to produce human-interpretable diagnostic reports explaining performance anomalies. We evaluate CausalTrace on a multi-node Kubernetes cluster running representative stateful streaming benchmarks under diverse synthetic and real-world failure injection scenarios. Experimental results demonstrate that CausalTrace achieves a 94.6% root-cause localization accuracy, outperforming state-of-the-art correlation-based and tracing baselines by at least 18.2%, while drastically reducing mean time to diagnosis from hours to seconds.

Keywords causal inference explainable ai Distributed Stream Processing eBPF Tracing Performance Bottlenecks
Authors 2

The team behind this paper

2 authors, 2 institutions.

This paper Technical University of Munich — Germany Technical University of… 1 author Federal University of Minas Gerais — Brazil Federal University of M… 1 author Prof. Elena Rostova — corresponding author ER Prof. Elena Rostova ✉ Dr. Carlos Mendonça CM Dr. Carlos Mendonça

Readership

14 reads over 1 month.

#7 most read in this journal this month
14
August 2026

Blockchain Confirmation

Loading...
If you want to upload this article to SciMatic Hybrid Blockchain, install MetaMask extension to your web browser, create a wallet and buy SCI coins at SciMatic using credit or contact your country coordinator.
One article costs 10 SCI coins to be in the Blockchain. Buy SCI Coins

Bibliographic Information

Prof. Elena Rostova, Dr. Carlos Mendonça, (2026). An Explainable AI Approach for Identifying Performance Bottlenecks in Distributed Stream Processing Systems using Causal Inference and System Call Tracing, SCI Journal of Software Engineering and Cloud Computing, 1(1): 27-33
Bibtex Citation
@article{prof._elena_rostova2026sjsecc,
author = {Prof. Elena Rostova and Dr. Carlos Mendonça},
title = {An Explainable AI Approach for Identifying Performance Bottlenecks in Distributed Stream Processing Systems using Causal Inference and System Call Tracing},
journal = {SCI Journal of Software Engineering and Cloud Computing},
year = {2026},
volume = {1},
number = {1},
pages = {27-33},
doi = {},
url = {https://scimatic.org/index.php/show_manuscript/9421}
}
APA Citation
Rostova, P.E., Mendonça, D.C., (2026). An Explainable AI Approach for Identifying Performance Bottlenecks in Distributed Stream Processing Systems using Causal Inference and System Call Tracing. SCI Journal of Software Engineering and Cloud Computing, 1(1), 27-33. https://doi.org/

Author Information

  • To change your profile photo, login to scimatic.org, go to your profile and change the photo.
  • Provide a face photo, and not full body.
  • It is better to remove the background from your photo. Go to Remove Background and then upload to profile
  • If you are unable to login, go to Reset My Password provide your email registered with the article and get new password.
  • In case of any other problem, contact your editor directly or write to us at info @ scimatic.org