Runtime Semantic Query Optimization for Event Stream Processing

  • Authors:
  • Luping Ding;Songting Chen;Elke A. Rundensteiner;Junichi Tatemura;Wang-Pin Hsiung;K. Selcuk Candan

  • Affiliations:
  • Worcester Polytechnic Institute. lisading@cs.wpi.edu;NEC Laboratories America. songting@sv.nec-labs.com;Worcester Polytechnic Institute. rundenst@cs.wpi.edu;NEC Laboratories America. tatemura@sv.nec-labs.com;NEC Laboratories America. whsiung@sv.nec-labs.com;NEC Laboratories America. candan@sv.nec-labs.com

  • Venue:
  • ICDE '08 Proceedings of the 2008 IEEE 24th International Conference on Data Engineering
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Detecting complex patterns in event streams, i.e., complex event processing (CEP), has become increasingly important for modern enterprises to react quickly to critical situations. In many practical cases business events are generated based on pre-defined business logics. Hence constraints, such as occurrence and order constraints, often hold among events. Reasoning using these known constraints enables us to predict the non-occurrences of certain future events, thereby helping us to identify and then terminate the long running query processes that are guaranteed to not lead to successful matches. In this work, we focus on exploiting event constraints to optimize CEP over large volumes of business transaction streams. Since the optimization opportunities arise at runtime, we develop a runtime query unsatisfiability (RunSAT) checking technique that detects optimal points for terminating query evaluation. To assure efficiency of RunSAT checking, we propose mechanisms to precompute the query failure conditions to be checked at runtime. This guarantees a constant-time RunSAT reasoning cost, making our technique highly scalable. We realize our optimal query termination strategies by augmenting the query with Event-Condition-Action rules encoding the pre-computed failure conditions. This results in an event processing solution compatible with state-of-the-art CEP architectures. Extensive experimental results demonstrate that significant performance gains are achieved, while the optimization overhead is small.