Abstract
Continuous queries can run for unpredictably long periods of time. During their lifetime, these queries may need to be adapted either due to changes in application semantics (e.g., the implementation of a new alert detection policy), or due to changes in the system’s behavior (e.g., adapting performance to a changing load). While in previous works query modification has been implicitly utilized to serve specific purposes (e.g., load management), to date no research has been done that defines a general-purpose, reliable, and efficiently implementable model for modifying continuous queries at run-time. In this report, we introduce a punctuation-based framework that can formally express arbitrary lifecycle operations on the basis of input-output mappings and basic control elements such as start or stop of queries. On top of this foundation, we derive all possible query change methods, each providing different levels of correctness guarantees and performance. We further show how these models can be efficiently realized in a state-of-the-art stream processing engine; we also provide experimental results demonstrating the key performance tradeoffs of the change methods. Mehr anzeigen
Persistenter Link
https://doi.org/10.3929/ethz-a-006905523Publikationsstatus
publishedZeitschrift / Serie
Technical reportBand
Verlag
ETH, Department of Computer Science,Organisationseinheit
02150 - Dep. Informatik / Dep. of Computer Science
ETH Bibliographie
yes
Altmetrics