TY - GEN
T1 - Continuous query processing with concurrency control
T2 - 28th Annual ACM Symposium on Applied Computing, SAC 2013
AU - Oyamada, Masafumi
AU - Kawashima, Hideyuki
AU - Kitagawa, Hiroyuki
PY - 2013
Y1 - 2013
N2 - A recent trend in data stream processing shows the use of advanced continuous queries (CQs) that reference non-streaming resources such as relational data in databases and machine learning models. Since non-streaming resources could be shared among multiple systems, resources may be updated by the systems during the CQ-execution. As a consequence, CQs may reference resources inconsistently, and lead to a wide range of problems from inappropriate results to fatal system failures. We address this inconsistency problem by introducing the concept of transaction processing onto data stream processing. We introduce CQ-derived transaction, a concept that derives read-only transactions from CQs, and illustrate that the inconsistency problem is solved by ensuring serializabil-ity of derived transactions and resource updating transactions. To ensure serializability, we propose three CQ-processing strategies based on concurrency control techniques: two-phase lock strategy, snapshot strategy, and optimistic strategy. Experimental study shows our CQ-processing strategies guarantee proper results, and their performances are comparable to the performance of conventional strategy that could produce improper results.
AB - A recent trend in data stream processing shows the use of advanced continuous queries (CQs) that reference non-streaming resources such as relational data in databases and machine learning models. Since non-streaming resources could be shared among multiple systems, resources may be updated by the systems during the CQ-execution. As a consequence, CQs may reference resources inconsistently, and lead to a wide range of problems from inappropriate results to fatal system failures. We address this inconsistency problem by introducing the concept of transaction processing onto data stream processing. We introduce CQ-derived transaction, a concept that derives read-only transactions from CQs, and illustrate that the inconsistency problem is solved by ensuring serializabil-ity of derived transactions and resource updating transactions. To ensure serializability, we propose three CQ-processing strategies based on concurrency control techniques: two-phase lock strategy, snapshot strategy, and optimistic strategy. Experimental study shows our CQ-processing strategies guarantee proper results, and their performances are comparable to the performance of conventional strategy that could produce improper results.
KW - Concurrency control
KW - Continuous query
KW - Data stream processing
KW - Transaction
UR - http://www.scopus.com/inward/record.url?scp=84877947836&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84877947836&partnerID=8YFLogxK
U2 - 10.1145/2480362.2480514
DO - 10.1145/2480362.2480514
M3 - Conference contribution
AN - SCOPUS:84877947836
SN - 9781450316569
T3 - Proceedings of the ACM Symposium on Applied Computing
SP - 788
EP - 794
BT - 28th Annual ACM Symposium on Applied Computing, SAC 2013
Y2 - 18 March 2013 through 22 March 2013
ER -