Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2480362.2480514acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

Continuous query processing with concurrency control: reading updatable resources consistently

Published: 18 March 2013 Publication History

Abstract

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 serializability 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.

References

[1]
A. Arasu et al. STREAM: The Stanford Stream Data Manager. IEEE Data Eng. Bull., 26(1):19--26, 2003.
[2]
A. Arasu, S. Babu, J. Widom. The CQL Continuous Query Language: Semantic Foundations and Query Execution. VLDB J., 15(2):121--142, 2006.
[3]
B. Babcock et al. Models and Issues in Data Stream Systems. In PODS, pages 1--16, 2002.
[4]
I. Botan, P. F. Bijay, D. K. N. Tatbul. Transactional Stream Processing. In EDBT, 2012.
[5]
A. Chakraborty, A. Singh. A Partition-based Approach to Support Streaming Updates over Persistent Data in an Active Datawarehouse. In IPDPS, pages 1--11. IEEE, 2009.
[6]
B. Chandramouli, J. Goldstein, S. Duan. Temporal Analytics on Big Data for Web Advertising. In ICDE, 2012.
[7]
N. Conway. CISC 499*: Transactions and Data Stream Processing, 2008.
[8]
Coral8. http://coral8.com/.
[9]
M. J. Franklin et al. Continuous Analytics: Rethinking Query Processing in a Network-Effect World. In CIDR. www.crdrdb.org, 2009.
[10]
B. Gedik et al. SPADE: The System S Declarative Stream Processing Engine. In SIGMOD, pages 1123--1134. ACM, 2008.
[11]
L. Golab, T. Johnson. Consistency in a Stream Warehouse. In CIDR, pages 114--122. www.crdrdb.org, 2011.
[12]
L. Golab et al. Stream Warehousing with DataDepot. In SIGMOD, pages 847--854. ACM, 2009.
[13]
L. Gürgen et al. Transactional Issues In Sensor Data Management. In DMSN, ACM International Conference Proceeding Series, pages 27--32. ACM, 2006.
[14]
Jubatus. http://jubat.us/.
[15]
S. Krishnamurthy et al. Continuous Analytics Over Discontinuous Streams. In SIGMOD, pages 1081--1092, 2010.
[16]
H. T. Kung, J. T. Robinson. On Optimistic Methods for Concurrency Control. ACM Trans. Database Syst., 6(2):213--226, 1981.
[17]
J. Li et al. No Pane, No Gain: Efficient Evaluation of Sliding-Window Aggregates Over Data Streams. SIGMOD Record, 34(1):39--44, 2005.
[18]
D. Maier et al. Semantics of Data Streams and Operators. In ICDT, volume 3363 of Lecture Notes in Computer Science, pages 37--52. Springer, 2005.
[19]
M. A. Naeem et al. R-MESHJOIN for Near-Real-Time Data Warehousing. In DOLAP, pages 53--60. ACM, 2010.
[20]
N. Polyzotis et al. Supporting Streaming Updates in an Active Data Warehouse. In ICDE, pages 476--485. IEEE, 2007.
[21]
N. Polyzotis et al. Meshing Streaming Updates with Persistent Data in an Active Data Warehouse. IEEE Trans. Knowl. Data Eng., 20(7):976--991, 2008.
[22]
D. Wang, E. A. Rundensteiner, R. T. Ellison. Active Complex Event Processing over Event Streams. PVLDB, 4(10):634--645, 2011.
[23]
G. Weikum, G. Vossen. Transactional Information Systems: Theory, Algorithms, and the Practice of Concurrency Control and Recovery. Morgan Kaufmann, 2002.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SAC '13: Proceedings of the 28th Annual ACM Symposium on Applied Computing
March 2013
2124 pages
ISBN:9781450316569
DOI:10.1145/2480362
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 18 March 2013

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. concurrency control
  2. continuous query
  3. data stream processing
  4. transaction

Qualifiers

  • Research-article

Funding Sources

  • NICT
  • KAKENHI

Conference

SAC '13
Sponsor:
SAC '13: SAC '13
March 18 - 22, 2013
Coimbra, Portugal

Acceptance Rates

SAC '13 Paper Acceptance Rate 255 of 1,063 submissions, 24%;
Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 10 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2024)A survey on transactional stream processingThe VLDB Journal — The International Journal on Very Large Data Bases10.1007/s00778-023-00814-z33:2(451-479)Online publication date: 1-Mar-2024
  • (2018)Consistency of Continuous Queries in Fog ComputingProcedia Computer Science10.1016/j.procs.2018.10.124141(16-23)Online publication date: 2018
  • (2017)Effectiveness of Service-oriented Router for ISP-CDN CollaborationJournal of Information Processing10.2197/ipsjjip.25.4525(45-55)Online publication date: 2017
  • (2017)On Continuous Queries in Stream ProcessingProcedia Computer Science10.1016/j.procs.2017.05.370109(640-647)Online publication date: 2017
  • (2017)Batch Composite Transactions in Stream ProcessingTransactions on Large-Scale Data- and Knowledge-Centered Systems XXXIV10.1007/978-3-662-55947-5_2(13-32)Online publication date: 7-Oct-2017
  • (2016)How Can a Service-oriented Router Merge with a CDN?IEEJ Transactions on Electronics, Information and Systems10.1541/ieejeiss.136.1172136:8(1172-1179)Online publication date: 2016
  • (2016)A Transaction Model for Executions of Compositions of Internet of Things ServicesProcedia Computer Science10.1016/j.procs.2016.04.11683(195-202)Online publication date: 2016
  • (2016)Incremental Continuous Query Processing over Streams and Relations with Isolation GuaranteesProceedings, Part I, 27th International Conference on Database and Expert Systems Applications - Volume 982710.1007/978-3-319-44403-1_20(321-335)Online publication date: 5-Sep-2016
  • (2015)Effectiveness of a Service-oriented Router in Future Content Delivery Networks2015 Seventh International Conference on Ubiquitous and Future Networks10.1109/ICUFN.2015.7182583(444-449)Online publication date: Jul-2015

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media