ABSTRACT
Complex Event Processing (CEP) has become increasingly important for tracking and monitoring anomalies and trends in event streams emitted from business processes such as supply chain management to online stores in e-commerce. These monitoring applications submit complex event queries to track sequences of events that match a given pattern. While the state-of-the-art CEP systems mostly focus on the execution of flat sequence queries, we instead support the execution of nested CEP queries specified by the (NEsted Event Language) NEEL. However the iterative execution often results in the repeated recomputation of similar or even identical results for nested subexpressions as the window slides over the event stream. In this work we thus propose to optimize NEEL execution performance by caching intermediate results. In particular we design two methods of applying selective caching of intermediate results. The first is the Continuous Sliding Caching technique. The second is a further optimization of the previous technique which we call the Interval-Driven Semantic Caching. Techniques for incrementally loading, purging and exploiting the cache content are described. Our experimental study using real-world stock trades evaluates the performance of our proposed caching strategies for different query types.
- E. Wu, Y. Diao, and S. Rizvi, "High-performance complex event processing over streams." in SIGMOD, 2006, pp. 407--418. Google ScholarDigital Library
- A. J. Demers et al., "Cayuga: A general purpose event monitoring system." in CIDR, 2007, pp. 412--422.Google Scholar
- Y. Mei and S. Madden, "Zstream: a cost-based query processor for adaptively detecting composite events," in SIGMOD, 2009, pp. 193--206. Google ScholarDigital Library
- M. Liu, E. A. Rundensteiner, D. J. Dougherty, C. Gupta, S. Wang, I. Ari, and A. Mehta, "NEEL: The nested complex event language for real-time event analytics," in BIRTE, VLDB WOrkshop, 2010, pp. 116--132.Google Scholar
- J. M. Smith and P. Y.-T. Chang, "Optimizing the performance of a relational algebra database interface," Commun. ACM, vol. 18, no. 10, pp. 568--579, 1975. Google ScholarDigital Library
- M. Liu, M. Ray, E. A. Rundensteiner, D. J. Dougherty, C. Gupta, S. Wang, I. Ari, and A. Mehta, "Processing nested complex sequence pattern queries over event streams," in DMSN, VLDB Workshop, 2010, pp. 14--19. Google ScholarDigital Library
- "Esper 2009, http://esper.codehaus.org/. accessed july 2009."Google Scholar
- M. Liu, E. A. Rundensteiner, D. Dougherty, C. Gupta, S. Wang, I. Ari, and A. Mehta, "High-performance nested CEP query processing over event streams," in ICDE, April, 2011. Google ScholarDigital Library
- W. Kim, "On optimizing an sql-like nested query," ACM Trans. Database Syst., vol. 7, pp. 443--469, 1982. Google ScholarDigital Library
- P. Seshadri, H. Pirahesh, and T. Y. C. Leung, "Complex query decorrelation," in ICDE, 1996, pp. 450--458. Google ScholarDigital Library
- Mumick, IS. and Finkelstein, S. and Pirahesh, H. and Ramakrishnan. R, "Magic is relevant." in SIGMOD, 1990. Google ScholarDigital Library
- A. Kawaguchi, D. Lieuwen, I. Mumick, and K. Ross, "Implementing incremental view maintenance in nested data models," in Database Programming Languages, 1998. Google ScholarDigital Library
- M. Liu, E. A. Rundensteiner, D. J. Dougherty, C. Gupta, S. Wang, and I. Ari, "E-Cube: Multi-dimensional event sequence analysis using hierarchical pattern query sharing," in SIGMOD, 2011. Google ScholarDigital Library
- R. S. Barga, J. Goldstein, M. Ali, and M. Hong, "Consistent streaming through time: A vision for event stream processing." in CIDR, 2007, pp. 363--374.Google Scholar
- B. Mozafari, K. Zeng, and C. Zaniolo, "Ik*sql: A unifying engine for sequence patterns and xml."Google Scholar
- S. Chaudhuri, R. Krishnamurthy, S. Potamianos, and K. Shim, "Optimizing queries with materialized views," in ICDE, 1995. Google ScholarDigital Library
- L. A. Y., R. A., and O. J. J., "Query answering algorithms for information agents," in Proc. National Conference on Artificial Intelligence, 1996, pp. 270--294. Google ScholarDigital Library
- P. Seshadri, M. Livny, and R. Ramakrishnan, "Sequence query processing," in SIGMOD, 1994, pp. 430--441. Google ScholarDigital Library
- F. M. Dar S., J. B., S. D., and T. M., "Semantic data caching and replacement," in VLDB, 1996, pp. 330--341. Google ScholarDigital Library
- KellerA.M. and B. J., "Apredicate-based caching scheme for client-server database architectures," in VLDB Journal, 1996, pp. 330--341. Google ScholarDigital Library
- B. Cao and A. Badia, "A nested relational approach to processing sql subqueries," in SIGMOD, 2005, pp. 191--202. Google ScholarDigital Library
- Dayal, U, "A unified approach to processing queries that contain nested subqueries aggregates and quantifiers." in VLDB, 1987. Google ScholarDigital Library
- "I. inetats. stock trade traces. http://www.inetats.com/."Google Scholar
- M. A. Nascimento and M. H. Dunham, "Indexing valid time databases via b+-trees," IEEE Trans. on Knowl. and Data Eng., pp. 929--947, 1999. Google ScholarDigital Library
- B. Gedik and et al., "Adaptive load shedding for windowed stream joins," in CIKM, 2005. Google ScholarDigital Library
- B. Liu, Y. Zhu, and E. Rundensteiner, "Run-time operator state spilling for memory intensive long-running queries," in SIGMOD, 2006. Google ScholarDigital Library
Index Terms
- High-performance complex event processing using continuous sliding views
Recommendations
High-performance complex event processing over streams
SIGMOD '06: Proceedings of the 2006 ACM SIGMOD international conference on Management of dataIn this paper, we present the design, implementation, and evaluation of a system that executes complex event queries over real-time streams of RFID readings encoded as events. These complex event queries filter and correlate events to match specific ...
High-performance complex event processing framework to detect event patterns over video streams
Middleware '19: Proceedings of the 20th International Middleware Conference Doctoral SymposiumComplex Event Processing (CEP) is an event processing paradigm capable of detecting patterns over streaming data in real-time. Presently, CEP systems have key challenges to preform matching over video streams due to their unstructured data model and ...
Stream reasoning and complex event processing in ETALIS
On linked spatiotemporal data and geo-ontologiesAddressing dynamics and notifications in the Semantic Web realm has recently become an important area of research. Run time data is continuously generated by multiple social networks, sensor networks, various on-line services and so forth. How to get ...
Comments