Transactional stream processing
Authors:
Open Access
- 27 March 2012
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 204-215
Abstract
Many stream processing applications require access to a multitude of streaming as well as stored data sources. Yet there is no clear semantics for correct continuous query execution over these data sources in the face of concurrent access and failures. Instead, today's Stream Processing Systems (SPSs) hard-code transactional concepts in their execution models, making them both hard to understand and inflexible to use. In this paper, we show that we can successfully reuse the traditional transactional theory (with some minimal extensions) in order to cleanly define the correct interaction of a set of continuous and one-time queries concurrently accessing both streaming and stored data sources. The result is a unified transactional model (UTM) for query processing over streams as well as traditional databases. We present a transaction manager that implements this model on top of an existing storage manager for streams (MXQuery/SMS). Experiments on the Linear Road Benchmark show that our transaction manager flexibly ensures correctness in case of concurrency and failures, without sacrificing from performance. Moreover, this model is powerful enough to express the implicit transactional behaviors of a representative set of state-of-the-art SPSs.Keywords
This publication has 15 references indexed in Scilit:
- Active complex event processing over event streamsProceedings of the VLDB Endowment, 2011
- SECRETProceedings of the VLDB Endowment, 2010
- On Concurrency Control in Sliding Window Queries over Data Streams2006
- The CQL continuous query language: semantic foundations and query executionThe VLDB Journal, 2005
- Update-pattern-aware modeling and processing of continuous queries2005
- High-Availability Algorithms for Distributed Stream Processing2005
- Semantics of Data Streams and Operators2004
- View maintenance issues for the chronicle data model (extended abstract)1995
- A critique of ANSI SQL isolation levels1995
- Continuous queries over append-only databases1992