Skip to main content
QUICK REVIEW

[Paper Review] On Load Shedding in Complex Event Processing

Yeye He, Siddharth Barman|arXiv (Cornell University)|Dec 16, 2013
Advanced Database Systems and QueriesComputer Science45 references14 citations
TL;DR

This paper proposes a formal framework for load shedding in Complex Event Processing (CEP) systems under memory and CPU constraints, modeling it as utility-maximization optimization problems. It establishes complexity results and presents approximation algorithms with performance guarantees, including a tri-criteria approximation for dual-bound load shedding and polynomial-time solutions for specific variants.

ABSTRACT

Complex Event Processing (CEP) is a stream processing model that focuses on detecting event patterns in continuous event streams. While the CEP model has gained popularity in the research communities and commercial technologies, the problem of gracefully degrading performance under heavy load in the presence of resource constraints, or load shedding, has been largely overlooked. CEP is similar to "classical" stream data management, but addresses a substantially different class of queries. This unfortunately renders the load shedding algorithms developed for stream data processing inapplicable. In this paper we study CEP load shedding under various resource constraints. We formalize broad classes of CEP load-shedding scenarios as different optimization problems. We demonstrate an array of complexity results that reveal the hardness of these problems and construct shedding algorithms with performance guarantees. Our results shed some light on the difficulty of developing load-shedding algorithms that maximize utility.

Motivation & Objective

  • Address the lack of research on load shedding in Complex Event Processing (CEP), which differs fundamentally from traditional stream processing in query patterns.
  • Formalize CEP load shedding as optimization problems under memory, CPU, or both constraints to maximize utility of detected event patterns.
  • Provide theoretical foundations for the hardness of CEP load shedding, showing NP-hardness and inapproximability results for various problem variants.
  • Design approximation algorithms with performance guarantees, including tri-criteria and pseudo-polynomial approximations, for practical deployment.
  • Demonstrate applicability to real-world scenarios such as cloud-based CEP services and SLA-driven workload management in multi-tenant environments.

Proposed method

  • Model CEP load shedding as integer and fractional linear programs (ILP and LP) with binary variables for event and query selection.
  • Formulate five core problem variants: FMLS (fractional memory-only), FCLS (fractional CPU-only), IDLS (integral dual-bound), FDLS (fractional dual-bound), and IMLS (integral memory-only).
  • Use LP relaxation and rounding techniques to derive approximation algorithms, particularly for the tri-criteria approximation in IDLS.
  • Introduce constraint (31) in IDLS to ensure that a query is only processed if all its constituent events are in memory, modeling CPU usage correctly.
  • Prove that FDLS is non-convex with non-convex constraints, making global optimization hard, and identify it as a challenging open problem.
  • Leverage structural properties such as maximum query participation per event (p) and query-to-memory budget ratio (f) to derive pseudo-polynomial approximation bounds.

Experimental results

Research questions

  • RQ1How hard is the problem of maximizing utility in CEP load shedding under memory and CPU constraints?
  • RQ2Can we design approximation algorithms with performance guarantees for CEP load shedding when resources are constrained?
  • RQ3What is the complexity of the fractional and integral variants of dual-bound load shedding (FDLS and IDLS)?
  • RQ4How do the structural properties of event patterns (e.g., event participation in queries) affect the approximability of CEP load shedding?
  • RQ5Can the proposed framework be applied to real-world CEP workloads such as health monitoring or cloud-based multi-tenant processing?

Key findings

  • The FMLS (fractional memory-only load shedding) problem can be solved in polynomial time via linear programming, as it reduces to a standard LP.
  • The FCLS (fractional CPU-only load shedding) problem is also solvable in polynomial time, as it is a linear program with a single constraint.
  • The IDLS (integral dual-bound load shedding) admits a tri-criteria approximation with parameters (1/τ, 1/(1−τ), 1/(1−τ)) for any τ ∈ [0,1], ensuring bounded resource usage and utility loss.
  • For IDLS, a pseudo-polynomial (1−f)−1p-approximation is achievable, where p is the maximum number of queries an event can belong to and f is the largest query size relative to memory budget.
  • The FDLS (fractional dual-bound load shedding) problem is non-convex with non-convex constraints, making it significantly harder than its integral counterpart, and no known approximation exists.
  • The hardness results from FMLS and FCLS extend to FDLS, and the problem remains intractable due to non-convexity, highlighting a key challenge for future optimization research.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.