Quality-driven processing of sliding window aggregates over out-of-order data streams
Authors:
Open Access
- 24 June 2015
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 68-79
Abstract
One fundamental challenge in data stream processing is to cope with the ubiquity of disorder of tuples within a stream caused by network latency, operator parallelization, merging of asynchronous streams, etc. High result accuracy and low result latency are two conflicting goals in out-of-order stream processing. Different applications may prefer different extent of trade-offs between the two goals. However, existing disorder handling solutions either try to meet one goal to the extreme by sacrificing the other, or try to meet both goals but have shortcomings including unguaranteed result accuracy or increased complexity in operator implementation and application logic. To meet different application requirements on the latency versus result accuracy trade-off in out-of-order stream processing, in this paper, we propose to make this trade-off user-configurable. Particularly, focusing on sliding window aggregates, we introduce AQ-K-slack, a buffer-based quality-driven disorder handling approach. AQ-K-slack leverages techniques from the fields of sampling-based approximate query processing and control theory. It can adjust the input buffer size dynamically to minimize the result latency, while respecting user-specified threshold on relative errors in produced query results. AQ-K-slack requires no a priori knowledge of disorder characteristics of data streams, and imposes no changes to the query operator implementation or the application logic. Experiments over real-world out-of-order data streams show that, compared to the state-of-art, AQ-K-slack can reduce the average buffer size, thus the average result latency, by at least 51% while respecting user-specified requirement on the accuracy of query results.Keywords
This publication has 32 references indexed in Scilit:
- A catalog of stream processing optimizationsACM Computing Surveys, 2014
- An overview of business intelligence technologyCommunications of the ACM, 2011
- Semantics and implementation of continuous sliding window queries over data streamsACM Transactions on Database Systems, 2009
- Improving the accuracy of continuous aggregates and mining queries on data streams under load sheddingInternational Journal of Business Intelligence and Data Mining, 2008
- A Deterministic Algorithm for Summarizing Asynchronous Streams over a Sliding Window2007
- Window Specification over Data Streams2006
- The 8 requirements of real-time stream processingACM SIGMOD Record, 2005
- Exploiting k -constraints to reduce memory overhead in continuous queries over data streamsACM Transactions on Database Systems, 2004
- Aurora: a new model and architecture for data stream managementThe VLDB Journal, 2003
- Exploiting punctuation semantics in continuous data streamsIEEE Transactions on Knowledge and Data Engineering, 2003