Load Shedding for Complex Event Processing: Input-based and State-based Techniques
Bo Zhao, Nguyen Quoc Viet Hung, Matthias Weidlich
Abstract
Complex event processing (CEP) systems that evaluate queries over streams of events may face unpredictable input rates and query selectivities. During short peak times, exhaustive processing is then no longer reasonable, or even infeasible, and systems shall resort to best-effort query evaluation and strive for optimal result quality while staying within a latency bound. In traditional data stream processing, this is achieved by load shedding that discards some stream elements without processing them based on their estimated utility for the query result. We argue that such input-based load shedding is not always suitable for CEP queries. It assumes that the utility of each individual element of a stream can be assessed in isolation. For CEP queries, however, this utility may be highly dynamic: Depending on the presence of partial matches, the impact of discarding a single event can vary drastically. In this work, we therefore complement input-based load shedding with a state-based technique that discards partial matches. We introduce a hybrid model that combines both input-based and state-based shedding to achieve high result quality under constrained resources. Our experiments indicate that such hybrid shedding improves the recall by up to 14× for synthetic data and 11.4× for real-world data, compared to baseline approaches.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers5
- CORE: a COmplex event Recognition EngineMarco Bucchi, Alejandro Grez, Andrés Quintana, Cristian Riveros et al.VLDB 2022 · 30 citations
- DARLING: Data-Aware Load Shedding in Complex Event Processing SystemsKoral Chapnik, Ilya Kolchinsky, Assaf SchusterVLDB 2022 · 20 citations
- INEv: In-Network Evaluation for Event Stream ProcessingSamira Akili, Steven Purtzel, Matthias WeidlichSIGMOD 2023 · 13 citations
- EIRES: Efficient Integration of Remote Data in Event Stream ProcessingBo Zhao, Han van der Aa, Thanh Tam Nguyen, Quoc Viet Hung Nguyen et al.SIGMOD 2021 · 13 citations
- SHARP: Shared State Reduction for Efficient Matching of Sequential PatternsCong Yu, Tuo Shi, Matthias Weidlich, Bo ZhaoVLDB 2026
Related papers
- DLACEP: A Deep-Learning Based Framework for Approximate Complex Event ProcessingAdar Amir, Ilya Kolchinsky, Assaf SchusterSIGMOD 2022 · 12 citations
- To Share, or not to Share Online Event Trend Aggregation Over Bursty Event StreamsOlga Poppe, Chuan Lei, Lei Ma, Allison Rozet et al.SIGMOD 2021 · 13 citations
- HYPERSONIC: A Hybrid Parallelization Approach for Scalable Complex Event ProcessingMaor Yankovitch, Ilya Kolchinsky, Assaf SchusterSIGMOD 2022 · 10 citations
- Move Fast and Meet Deadlines: Fine-grained Real-time Stream Processing with CameoLe Xu, Shivaram Venkataraman, Indranil Gupta, Luo Mai et al.NSDI 2021 · 38 citations
- DecoPa: Query Decomposition for Parallel Complex Event ProcessingSamira Akili, Steven Purtzel, Matthias WeidlichSIGMOD 2024 · 8 citations
