Adaptive and Efficient Event Stream Processing through Relaxed Semantics
Licentiate thesis, 2026
This thesis addresses this limitation by exploring how stream Aggregates -- stateful operators that summarize streaming data -- can be relaxed at runtime to adaptively trade performance against resource consumption and output guarantees. On the one hand, stream Aggregate states can vary significantly and shift over time in response to variations in the incoming data, and not all states are accessed with equal frequency; therefore, those states updated infrequently could be compressed. However, deciding when and what to compress is not trivial, as the optimal trade-off between memory savings and processing overhead varies with workload. We thus design an on-demand compression mechanism that uses Reinforcement Learning (RL) to dynamically tune Aggregate state compression levels at runtime, balancing memory consumption and processing efficiency under a target latency threshold, and identify policies that balance feedback timeliness and learned quality. On the other hand, Aggregates are defined by two key parameters -- window advance (the output frequency) and window size (the interval length) -- which typically remain fixed throughout execution, limiting their ability to adapt to changing workloads and resource conditions. Therefore, we support dynamic reconfiguration of both parameters at runtime, allowing analysts to specify a set of acceptable advances and sizes to trade performance and guarantees via weaker (at-most-once) or stronger (exactly-once) reconfiguration semantics. We provide alternative reconfiguration strategies for both in-order and out-of-order tuple arrival models, and empirically show that the approach matches fixed-configuration baselines' performance while supporting reconfiguration in negligible time.
Stream Aggregates
Stream Processing
Relaxation
Author
Jingyu Liu
Chalmers, Computer Science and Engineering (Chalmers), Computer and Network Systems
Chill: Runtime Reconfiguration of Windowed Stream Aggregates with Semantic Guarantees
Debs 2026 Proceedings of the 20th ACM International Conference on Distributed and Event Based Systems,;(2026)p. 157-168
Paper in proceeding
On-demand Memory Compression of Stream Aggregates through Reinforcement Learning
Icpe 2025 Proceedings of the 16th ACM Spec International Conference on Performance,;(2025)p. 240-252
Paper in proceeding
Relaxed Semantics Across the Data Analytics Stack (RELAX-DN)
European Commission (EC) (EC/HE/101072456), 2023-03-01 -- 2027-03-01.
Subject Categories (SSIF 2025)
Computer Sciences
Computer Engineering
Computer Systems
Technical report L - Department of Computer Science and Engineering, Chalmers University of Technology and Göteborg University
Publisher
Chalmers
HC4, Chalmers University of Technology (Campus Johanneberg)
Opponent: Eleni Tzirita Zacharatou, Hasso Plattner Institute, Germany