skip to main content
10.1145/1619258.1619264acmconferencesArticle/Chapter ViewAbstractPublication PagesdebsConference Proceedingsconference-collections
research-article

Distributed complex event processing with query rewriting

Published:06 July 2009Publication History

ABSTRACT

The nature of data in enterprises and on the Internet is changing. Data used to be stored in a database first and queried later. Today timely processing of new data, represented as events, is increasingly valuable. In many domains, complex event processing (CEP) systems detect patterns of events for decision making. Examples include processing of environmental sensor data, trades in financial markets and RSS web feeds. Unlike conventional database systems, most current CEP systems pay little attention to query optimisation. They do not rewrite queries to more efficient representations or make decisions about operator distribution, limiting their overall scalability.

This paper describes the NEXT CEP system that was especially designed for query rewriting and distribution. Event patterns are specified in a high-level query language and, before being translated into event automata, are rewritten in a more efficient form. Automata are then distributed across a cluster of machines for detection scalability. We present algorithms for query rewriting and distributed placement. Our experiments on the Emulab test-bed show a significant improvement in system scalability due to rewriting and distribution.

References

  1. D. Abadi, D. Camey, U. Cetintemel, M. Chemiack, et al. Aurora: A New Model and Architecture for Data Stream Management. VLDB Journal, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. D. J. Abadi, Y. Ahmad, M. Balazinska, U. Cetintemel, et al. The Design of the Borealis Stream Processing Engine. In CIDR, Asilomar, CA, January 2005.Google ScholarGoogle Scholar
  3. Y. Ahmad and U. Çetintemel. Network-Aware Query Processing for Stream-based App. In VLDB, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. M. Akdere, U. Çetintemel, and N. Tatbul. Plan-based Complex Event Detection across Distributed Event Sources. In VLDB, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Arasu, B. Babcock, S. Babu, J. Cieslewicz, et al. STREAM: The Stanford Data Stream Management System, http://infolab.stanford.edu/stream, 2004.Google ScholarGoogle Scholar
  6. A. Arasu, S. Babu, and J. Widom. The CQL Continuous Query Language: Semantic Foundations and Query Execution. VLDB Journal, 15(2), 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. Balazinska, H. Balakrishnan, and M. Stonebraker. Contract-Based Load Management in Federated Distributed Systems. In Proc. of NSDI'04, San Francisco, CA, Mar. 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. D. Carney, U. Çetintemel, M. Cherniack, C. Convey, et al. Monitoring Streams - A New Class of Data Management Applications. In VLDB, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. S. Chakravarthy and D. Mishra. Snoop: an Expressive Event Specification Language for Active Databases. Data Knowledge Engineering, 14(1):1--26, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. S. Chandrasekaran et al. TelegraphCQ: Continuous Dataflow Processing for an Uncertain World. In CIDR, 2003.Google ScholarGoogle Scholar
  11. M. Cherniack, H. Balakrishnan, M. Balazinska, D. Carney, et al. Scalable Distributed Stream Processing. In CIDR, Asilomar, CA, January 2003.Google ScholarGoogle Scholar
  12. T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein. Introduction to Algorithms. The MIT Press and McGraw-HilDyanl, 2nd edition, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. A. Demers, J. Gehrke, M. Hong, B. Panda, et al. Towards Expressive Publish/Subscribe Systems. In EDBT, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. A. Demers, J. Gehrke, M. Hong, B. Panda, et al. Cayuga: A Genaral Purpose Event Monitoring System. In CIDR, pages 412--422, 2007.Google ScholarGoogle Scholar
  15. Emulab's homepage. http://www.emulab.net/.Google ScholarGoogle Scholar
  16. R. S. Epstein and M. Stonebraker. Analysis of Distributed Data Base Processing Strategies. In VLDB, pages 92--101, 1980. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Esper's homepage. http://esper.codehaus.org.Google ScholarGoogle Scholar
  18. Federal Bureau of Investigation. Financial Crimes Report to the Public Fiscal Year 2007. Technical report, Federal Bureau of Investigation, 2007.Google ScholarGoogle Scholar
  19. L. Fiege, G. Muhl, and P. R. Pietzuch. Distributed Event-based Systems. Springer-Verlag Berlin and Heidelberg GmbH&Co. K, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. S. Gatziu and K. R. Dittrich. Detecting Composite Events in Active Database Systems Using Petri Nets. In RIDE-ADS, pages 2--9, 1994.Google ScholarGoogle ScholarCross RefCross Ref
  21. J. E. Hopcroft, R. Motwani, Rotwani, and J. D. Ullman. Introduction to Automata Theory, Languages and Computability. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. L. Lamport. Time, Clocks, and the Ordering of Events in a Distributed System. Commun. ACM, 21(7):558--565, 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. P. Pietzuch, J. Ledlie, J. Shneidman, M. Roussopoulos, et al. Network-Aware Operator Placement for Stream-Processing Sys. In ICDE, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. P. R. Pietzuch, B. Shand, and J. Bacon. A Framework for Event Composition in Distributed Systems. In Middleware, Rio de Janeiro, Brazil, jun 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. S. Seshadri, V. Kumar, and B. F. Cooper. Optimizing Multiple Queries in Distributed Data Stream Systems. In NetDB, page 25, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Visa Inc. Operational Performance Data. http://corporate.visa.com/md/st/, 2008.Google ScholarGoogle Scholar
  27. Walker White and Mirek Riedewald and Johannes Gehrke and Alan Demers. What is "Next" in Event Processing? In SIGMOD-SIGACT-SIGART, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Y. Xing, S. Zdonik, and J.-H. Hwang. Dynamic Load Distribution in the Borealis Stream Processor. In ICDE, pages 791--802, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. M. T. Özsu and P. Valduriez. Principles of Distributed Databases. Prentice-Hall Inc., 2nd edition, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Distributed complex event processing with query rewriting

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Conferences
              DEBS '09: Proceedings of the Third ACM International Conference on Distributed Event-Based Systems
              July 2009
              292 pages
              ISBN:9781605586656
              DOI:10.1145/1619258

              Copyright © 2009 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 6 July 2009

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • research-article

              Acceptance Rates

              Overall Acceptance Rate130of553submissions,24%

              Upcoming Conference

              DEBS '24

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader