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

Efficiently correlating complex events over live and archived data streams

Published: 11 July 2011 Publication History

Abstract

Correlating complex events over live and archived data streams, which we call Pattern Correlation Queries (PCQs), provides many benefits for domains which need real time forecasting of events or identification of causal dependencies, while handling data at high rates and in massive amounts, like in financial or medical settings. Existing work has focused either on complex event processing over a single type of stream source (i.e., either live or archived), or on simple stream correlation queries (e.g., live events trigerring a database lookup). In this paper, we specifically focus on recency-based PCQs and provide clear, useful, and optimizable semantics for them. PCQs raise a number of challenges in optimizing data management and query processing, which we address in the setting of the DejaVu complex event processing system. More specifically, we propose three complementary optimizations including recent input buffering, query result caching, and join source ordering. Furthermore, we capture the relevant query processing tradeoffs in a cost model. An extensive performance study on synthetic and real-life data sets not only validates this cost model, but also shows that our optimizations are very effective, achieving more than two orders magnitude throughput improvement and much better scalability compared to a conventional approach.

References

[1]
Coral8, Inc. http://www.coral8.com/.
[2]
ESPER. http://esper.codehaus.org/.
[3]
MEDAN - Competence Center for Medical Data Warehousing and Analysis. http://www.inf.unibz.it/dis/projects/medan/index.html.
[4]
Medical Use case. http://www.mamashealth.com/Bloodpressure.asp.
[5]
MySQL. http://www.mysql.com/.
[6]
NYSE Data Solutions. http://www.nyxdata.com/nysedata/.
[7]
Oracle CEP. http://www.oracle.com/technetwork/middleware/complex-event-processing/index.html/.
[8]
StreamBase Systems, Inc. http://www.streambase.com/.
[9]
Truviso, Inc. http://www.truviso.com/.
[10]
J. Agrawal, Y. Diao, D. Gyllstrom, and N. Immerman. Efficient Pattern Matching over Event Streams. In ACM SIGMOD Conference, Vancouver, Canada, June 2008.
[11]
M. Balazinska, Y. Kwon, N. Kuchta, and D. Lee. Moirae: History-Enhanced Monitoring. In CIDR Conference, Asilomar, CA, January 2007.
[12]
S. Chandrasekaran and M. Franklin. Remembrance of Streams Past: Overload-Sensitive Management of Archived Streams. In VLDB Conference, Toronto, Canada, August 2004.
[13]
A. Demers, J. Gehrke, B. Panda, M. Riedewald, V. Sharma, and W. White. Cayuga: A General Purpose Event Monitoring System. In CIDR Conference, Asilomar, CA, January 2007.
[14]
D. J. DeWitt, J. F. Naughton, and D. A. Schneider. An Evaluation of Non-Equijoin Algorithms. In VLDB Conference, Barcelona, Spain, September 1991.
[15]
N. Dindar, B. Güç, P. Lau, A. Özal, M. Soner, and N. Tatbul. DejaVu: Declarative Pattern Matching over Live and Archived Streams of Events (Demo). In ACM SIGMOD Conference, Providence, RI, June 2009.
[16]
L. Golab, T. Johnson, J. S. Seidel, and V. Shkapenyuk. Stream Warehousing with DataDepot. In ACM SIGMOD Conference, Providence, RI, June 2009.
[17]
A. Gupta and I. S. Mumick. Maintenance of Materialized Views: Problems, Techniques, and Applications. IEEE Data Engineering Bulletin, 18(2), 1995.
[18]
D. Gyllstrom, J. Agrawal, Y. Diao, and N. Immerman. On Supporting Kleene Closure over Event Streams. In IEEE ICDE Conference, Cancun, Mexico, April 2008.
[19]
J. M. Hellerstein. Optimization Techniques for Queries with Expensive Methods. ACM TODS Journal, 23(2), June 1998.
[20]
A. Lerner and D. Shasha. The Virtues and Challenges of Ad Hoc Streams Querying in Finance. IEEE Data Engineering Bulletin, 26(1), March 2003.
[21]
Y. Mei and S. Madden. ZStream: A Cost-based Query Processor for Adaptively Detecting Composite Events. In ACM SIGMOD Conference, Providence, RI, June 2009.
[22]
F. Reiss, K. Stockinger, K. Wu, A. Shoshani, and J. M. Hellerstein. Enabling Real-Time Querying of Live and Historical Stream Data. In SSDBM Conference, Banff, Canada, July 2007.
[23]
J. Teubner and R. Müller. How Soccer Players Would Do Stream Joins. In SIGMOD, 2011.
[24]
K. Tufte, J. Li, D. Maier, V. Papadimos, R. L. Bertini, and J. Rucker. Travel Time Estimation using NiagaraST and Latte. In ACM SIGMOD Conference, Beijing, China, June 2007.
[25]
F. Zemke, A. Witkowski, M. Cherniack, and L. Colby. Pattern Matching in Sequences of Rows. Technical Report ANSI Standard Proposal, July 2007.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
DEBS '11: Proceedings of the 5th ACM international conference on Distributed event-based system
July 2011
418 pages
ISBN:9781450304238
DOI:10.1145/2002259
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 11 July 2011

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. complex event processing
  2. data streams
  3. pattern matching
  4. stream archiving
  5. stream correlation

Qualifiers

  • Research-article

Conference

DEBS '11

Acceptance Rates

DEBS '11 Paper Acceptance Rate 23 of 95 submissions, 24%;
Overall Acceptance Rate 145 of 583 submissions, 25%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 22 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media