Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1385989.1386023acmotherconferencesArticle/Chapter ViewAbstractPublication PagesdebsConference Proceedingsconference-collections
research-article

Speculative out-of-order event processing with software transaction memory

Published: 01 July 2008 Publication History

Abstract

In event stream applications, events flow through a network of components that perform various types of operations, e.g., filtering, aggregation, transformation. When the operation only depends on the input events, one can trivially parallelize its processing by replicating the associated components. This is not possible, however, with stateful components or when there exist dependencies between the events. Parallel versions of a number of simple stream mining operators have been designed, but, in general, complex and user-defined operators are limited by single thread performance. In this paper, we propose leveraging the processing capabilities of multi-core processors to improve the efficiency of stateful components using optimistic parallelization techniques (as provided by transactional memory). We show that, even though some speculative event executions might need to be disregarded, the overall throughput increases noticeably in the general case and latency can be reduced by pre-processing out-of-order events. Moreover, we show how simple conflict predictors can boost the parallelism even more and reduce the amount of resources used for a given level of parallelism.

References

[1]
D. J. Abadi, Y. Ahmad, M. Balazinska, U. Cetintemel, M. Cherniack, J.-H. Hwang, W. Lindner, A. S. Maskey, A. Rasin, E. Ryvkina, N. Tatbul, Y. Xing, and S. Zdonik. The design of the borealis stream processing engine. In Proceedings of the 2nd Biennial Conference on Innovative Data Systems Research (CIDR'05), Asilomar, CA, January 2005.
[2]
B. Babcock, S. Babu, M. Datar, R. Motwani, and J. Widow. Model and issues in data stream systems. In Proceedings of the twenty-first ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems (PODS'02), pages 1--16, Madison, USA, June 2002. ACM Press, New York, NY.
[3]
R. Barga, J. Goldstein, M. Ali, and M. Hong. Consistent streaming through time: a vision for event stream processing. In Proceedings of the third biennial conference on Innovative data systems research (CIDR'07), Asilomar, USA, January 2007.
[4]
D. Dice and N. Shavit. What really makes transactions faster? In Proceedings of the First ACM SIGPLAN Workshop on Languages, Compilers, and Hardware Support for Transactional Computing. Jun 2006.
[5]
P. Felber, C. Fetzer, and T. Riegel. Dynamic Performance Tuning of Word-Based Software Transactional Memory. In Proceedings of the 13th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming (PPoPP), 2008.
[6]
M. Herlihy and J. E. B. Moss. Transactional memory: Architectural support for lock-free data structures. In Proceedings of the Twentieth Annual International Symposium on Computer Architecture, 1993.
[7]
M. Koparanova and T. Risch. High-performance grid stream database manager for scientific data. In Across Grids 2003, pages 86--92. Springer-Verlag Berlin Heidelberg, 2004.
[8]
M. Li, M. Liu, L. Ding, E. A. Rundensteiner, and M. Mani. Event stream processing with out-of-order data arrival. In ICDCSW '07: Proceedings of the 27th International Conference on Distributed Computing Systems Workshops, page 67, Washington, DC, USA, 2007. IEEE Computer Society.
[9]
W. N. Scherer III and M. L. Scott. Advanced contention management for dynamic software transactional memory. In Proceedings of the 24th ACM Symposium on Principles of Distributed Computing, Las Vegas, NV, Jul 2005.
[10]
M. F. Spear, V. J. Marathe, W. N. S. III, and M. L. Scott. Conflict Detection and Validation Strategies for Software Transactional Memory. In 20th Intl. Symp. on Distributed Computing (DISC), 2006.
[11]
J. H. Spring, J. Privat, R. Guerraoui, and J. Vitek. Streamflex: high-throughput stream programming in java. In Proceedings of the 22nd annual ACM SIGPLAN conference on Object oriented programming systems and applications, pages 211--228. ACM Press, New York, NY, October 2007.
[12]
J. Steffan and T. Mowry. The potential for using thread-level data speculation to facilitate automatic parallelization. In HPCA '98: Proceedings of the 4th International Symposium on High-Performance Computer Architecture, page 2, Washington, DC, USA, 1998. IEEE Computer Society.
[13]
C. Wang, W.-Y. Chen, Y. Wu, B. Saha, and A.-R. Adl-Tabatabai. Code Generation and Optimization for Transactional Memory Constructs in an Unmanaged Language. In International Symposium on Code Generation and Optimization (CGO), 2007.
[14]
E. Wu, Y. Diao, and S. Rizvi. High-performance complex event processing over streams. In Proceedings of the 2006 ACM SIGMOD international Conference on Management of Data (SIGMOD'06), pages 407--418, Chicago, USA, June 2006. ACM Press, New York, NY.

Cited By

View all
  • (2024)Efficient Pattern Matching over Out-of-Order Event Streams Using Sliding BufferJournal of Information Processing10.2197/ipsjjip.32.96332(963-972)Online publication date: 2024
  • (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
  • (2022)Separation or Not: On Handing Out-of-Order Time-Series Data in Leveled LSM-Tree2022 IEEE 38th International Conference on Data Engineering (ICDE)10.1109/ICDE53745.2022.00315(3340-3352)Online publication date: May-2022
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
DEBS '08: Proceedings of the second international conference on Distributed event-based systems
July 2008
377 pages
ISBN:9781605580906
DOI:10.1145/1385989
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

  • IEEE
  • USENIX Assoc: USENIX Assoc
  • IFIP: International Federation for Information Processing

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 July 2008

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. event stream processing
  2. software transactional memory

Qualifiers

  • Research-article

Funding Sources

Conference

DEBS '08
Sponsor:
  • USENIX Assoc
  • IFIP

Acceptance Rates

Overall Acceptance Rate 145 of 583 submissions, 25%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 13 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Efficient Pattern Matching over Out-of-Order Event Streams Using Sliding BufferJournal of Information Processing10.2197/ipsjjip.32.96332(963-972)Online publication date: 2024
  • (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
  • (2022)Separation or Not: On Handing Out-of-Order Time-Series Data in Leveled LSM-Tree2022 IEEE 38th International Conference on Data Engineering (ICDE)10.1109/ICDE53745.2022.00315(3340-3352)Online publication date: May-2022
  • (2020)Kairos: a self-configuring approach for short and accurate event timeouts in IoTMobiQuitous 2020 - 17th EAI International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services10.1145/3448891.3448917(347-356)Online publication date: 7-Dec-2020
  • (2020)Process Mining over Unordered Event Streams2020 2nd International Conference on Process Mining (ICPM)10.1109/ICPM49681.2020.00022(81-88)Online publication date: Oct-2020
  • (2019)Optimal and general out-of-order sliding-window aggregationProceedings of the VLDB Endowment10.14778/3339490.333949912:10(1167-1180)Online publication date: 1-Jun-2019
  • (2019)Improving big-data automotive applications performance through adaptive resource allocation2019 IEEE Symposium on Computers and Communications (ISCC)10.1109/ISCC47284.2019.8969636(1-7)Online publication date: Jun-2019
  • (2019)Complex event recognition in the Big Data era: a surveyThe VLDB Journal10.1007/s00778-019-00557-wOnline publication date: 25-Jul-2019
  • (2019)Stream Query OptimizationEncyclopedia of Big Data Technologies10.1007/978-3-319-77525-8_261(1607-1615)Online publication date: 20-Feb-2019
  • (2018)C-StreamACM Transactions on Parallel Computing10.1145/31841204:3(1-27)Online publication date: 27-Apr-2018
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media